Comments (8)
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.
I also updated the versions of Firefox, Chromium and the AWS CLI library to allow building the image.
The latest
image will be updated on the Docker Hub a bit later today.
from docker-robot-framework.
Was able to build by setting FROM fedora:38
in the Dockerfile
from docker-robot-framework.
That's a very surprising error, given that the logs show dnf
was run successfully to upgrade the dependencies first, then it suddenly seems to disappear. I will try to reproduce that error on my side.
from docker-robot-framework.
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
from docker-robot-framework.
I think the problem and a solution is described here:
containers/toolbox#1337
https://bugzilla.redhat.com/show_bug.cgi?id=2216807
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.
from docker-robot-framework.
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.
I will not try things with dnf5 because of the remark that chrome or the chromedriver or firefox can not be found.
from docker-robot-framework.
No I have to backpaddle.
This is on Kubuntu Linux 23.04.
When I used FROM: fedora:38, the build fails:
Error: Unable to find a match: chromedriver-114.0* chromium-114.0* firefox-114.0*
When I run it with the original FROM fedora:38, the error is:
>>> Running post-transaction scriptlet: ca-certificates-0:2023.2.60_v7.0.306-2.f
>>> Stop post-transaction scriptlet: ca-certificates-0:2023.2.60_v7.0.306-2.fc39
>>> Running post-transaction scriptlet: rpm-0:4.18.92-3.fc40.x86_64
>>> Stop post-transaction scriptlet: rpm-0:4.18.92-3.fc40.x86_64
>>> Running trigger-post-uninstall scriptlet: glibc-common-0:2.38.9000-6.fc40.x8
>>> Stop trigger-post-uninstall scriptlet: glibc-common-0:2.38.9000-6.fc40.x86_6
>>> Running trigger-post-uninstall scriptlet: glib2-0:2.77.2-1.fc40.x86_64
>>> Stop trigger-post-uninstall scriptlet: glib2-0:2.77.2-1.fc40.x86_64
>>> Running trigger-post-uninstall scriptlet: glib2-0:2.77.2-1.fc40.x86_64
>>> Stop trigger-post-uninstall scriptlet: glib2-0:2.77.2-1.fc40.x86_64
>>> Running trigger-install scriptlet: glibc-common-0:2.38.9000-6.fc40.x86_64
>>> Stop trigger-install scriptlet: glibc-common-0:2.38.9000-6.fc40.x86_64
>>> Running trigger-install scriptlet: glib2-0:2.77.2-1.fc40.x86_64
>>> Stop trigger-install scriptlet: glib2-0:2.77.2-1.fc40.x86_64
/bin/sh: line 1: dnf: command not found
The command '/bin/sh -c dnf upgrade -y --refresh && dnf install -y chromedriver-${CHROMIUM_VERSION}* chromium-${CHROMIUM_VERSION}* firefox-${FIREFOX_VERSION}* npm nodejs python3-pip tzdata xorg-x11-server-Xvfb-${XVFB_VERSION}* && dnf clean all' returned a non-zero code: 127
Original error stands.
If you clone the repo and run docker-build, it does not build.
from docker-robot-framework.
The latest
tag has now been updated on the Docker Hub, closing this issue.
from docker-robot-framework.
Related Issues (20)
- Building on MacOS HOT 1
- Robot Framework 7.0 version upgrade HOT 2
- Upgrade the base image to Fedora 39 HOT 1
- Upgrade the Robot Framework Browser Library to version 18.0.0 HOT 1
- Upgrade Robot Framework DatabaseLibrary to version 1.4.3 HOT 1
- Upgrade Robot Framework Datadriver to version 1.10.0 HOT 1
- Upgrade Robot Framework Pabot to version 2.18.0 HOT 1
- Upgrade Robot Framework Requests to version 0.9.6 HOT 1
- Upgrade Robot Framework SeleniumLibrary to version 6.2.0 HOT 1
- Upgrade Amazon AWS CLI to version 1.32.36 HOT 1
- Upgrade Firefox to version 122.0 HOT 1
- Upgrade Chromium to version 121.0 HOT 1
- Upgrade Microsoft Edge to version 121.0.2277.106 HOT 1
- README TOC links don't work on the Docker Hub HOT 1
- Dynamic dependency installation doesn't work for other UID/GID runners HOT 1
- Upgrade Chromium to version 122.0 HOT 1
- Upgrade Firefox to version 123.0 HOT 1
- Getting blank screen when trying to start chrome driver
- When using --prerunmodifier keywords are added two times
- Combining Playwright and Selenium causes the container images to be very big
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-robot-framework.