-
-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot build an image based on the Dockerfile #446
Comments
Was able to build by setting |
That's a very surprising error, given that the logs show |
Same here. Does not work with FROM fedora:38 either. Need to say I'm on an M2 Mac, which is related to this: #443 |
I think the problem and a solution is described here: I first inserted this line in my dockerfile and replaced all subsequent dnf with dnf5 # Install system dependencies
RUN dnf update -y --setopt=protected_packages=,
RUN dnf5 upgrade -y --refresh However, the packages for chromedriver, chrome and firefox could not be found afterwards. But that is another problem. |
Interesting: The dockerfile says "FROM fedora:39" but I can confirm: If you build it it as it is in the code today, it fails. |
No I have to backpaddle. This is on Kubuntu Linux 23.04. When I used FROM: fedora:38, the build fails: When I run it with the original FROM fedora:38, the error is:
Original error stands. |
* Updated Firefox to version 117.0 * Updated Chromium to version 116.0 * Updated the AWS CLI to version 1.29.40
Issue #446 - Cannot build an image based on the Dockerfile
Sorry for the delay in solving this issue. Thank you all for your input, it made it easier for me to track down the problems. As mentioned on RedHat's issue tracker, there was a bug in dnf which has now been resolved. It is anyway surprising that the project was relying on a pre-release of Fedora rather than the latest stable one (I cannot remember the purpose of that), so I downgraded the base image to Fedora 38. The |
The |
Describe the bug
I pulled the git repo and tried to build an image based on the Dockerfile, but it failed with
/bin/sh: line 1: dnf: command not found
To Reproduce
Steps to reproduce the behavior:
sudo docker build -t robotframework .
Expected behavior
An image should be build
Screenshots
The text was updated successfully, but these errors were encountered: