-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Docker: Update Firefox binary installed in node #2488
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
Conversation
Signed-off-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com>
Signed-off-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com>
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
CI Failure Feedback 🧐(Checks updated until commit 6ac3451)
✨ CI feedback usage guide:The CI feedback tool (
In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:
where Configuration options
See more information about the |
@@ -1312,7 +1312,7 @@ FIREFOX_VERSION=$(docker run --rm --entrypoint="" selenium/node-firefox:latest f | |||
&& ./NodeFirefox/get_lang_package.sh ${FIREFOX_VERSION} /local/path/to/download | |||
``` | |||
|
|||
Or, you can mount the container directory `/home/seluser/firefox/distribution/extensions` to host directory to access packs were pre-built in the container for using in your test script. | |||
Or, you can mount the container directory `$(readlink -f $(which firefox)))/distribution/extensions` to host directory to access packs were pre-built in the container for using in your test script. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't there one )
too many?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch! A typo when I tried to copy a line from source to README without updating properly 😅
User description
Thanks for contributing to the Docker-Selenium project!
A PR well described will help maintainers to quickly review and merge it
Before submitting your PR, please check our contributing guidelines, applied for this repository.
Avoid large PRs, help reviewers by making them as simple and short as possible.
Description
Fixes #2487 - Pinning the version in building the node-firefox image for arch ARM64
Fixes #2457 Fixes #2463 - Similar above
Fixes #2473 - Moving installed Firefox directory back to
/opt/firefox-$VERSION
from/home/seluser/firefox
Motivation and Context
Types of changes
Checklist
PR Type
Enhancement, Bug fix
Description
FIREFOX_DOWNLOAD_URL
variable in the Makefile to specify the Firefox download URL, allowing for more controlled builds.NodeFirefox
to utilize theFIREFOX_DOWNLOAD_URL
argument, ensuring the correct version of Firefox is downloaded and installed./opt/firefox-$FIREFOX_VERSION
to better manage versions.Changes walkthrough 📝
Makefile
Add Firefox download URL variable and update build target
Makefile
FIREFOX_DOWNLOAD_URL
variable for specifying Firefox downloadURL.
firefox
target to useFIREFOX_DOWNLOAD_URL
for building theimage.
Dockerfile
Update Firefox installation and cleanup process
NodeFirefox/Dockerfile
FIREFOX_DOWNLOAD_URL
argument for downloading Firefox./opt/firefox-$FIREFOX_VERSION
.README.md
Update README with Firefox version and language pack details
README.md