fix: update Chrome version to 146.0.7680.80-1 in Dockerfile#14
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the pinned Google Chrome version used during the Docker image build and makes the Chrome .deb download step more resilient to redirects.
Changes:
- Bumped
CHROME_VERSIONfrom145.0.7632.116-1to146.0.7680.80-1. - Added
-Lto the Chrome.debdownloadcurlcommand to follow redirects.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
There was a problem hiding this comment.
Pull request overview
Updates the Docker build to use a newer pinned Google Chrome Stable version and makes the Chrome .deb download more reliable by using redirect-following curl flags, with cache-busting date bumps to ensure package upgrades are refreshed.
Changes:
- Bumped
CHROME_VERSIONto146.0.7680.80-1. - Updated the Chrome
.debdownload command to usecurl -fsSL(includes redirect following via-L). - Updated
DOCKERFILE_DATEvalues to refresh the build cache.
Comments suppressed due to low confidence (1)
build/Dockerfile:223
- Line continuation in the bash snippet has a stray backslash with trailing whitespace (
rm -rf /tmp/chrome.deb; \). Because the backslash is not the last character on the line, it doesn’t escape the newline and is effectively pointless, which is easy to trip over during future edits. Remove the backslash and trailing spaces (or make it a proper&&\continuation if that’s what you intended).
mv /usr/bin/google-chrome-stable /usr/bin/chromium &&\
rm -rf /tmp/chrome.deb; \
fi \
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
https://github.com/fulll/chapter-secops/issues/1634
https://github.com/fulll/chapter-secops/issues/1636
https://app.aikido.dev/issues/24575271/detail
This pull request updates the Chrome version used in the Docker build and improves the reliability of downloading the Chrome package by following redirects. These changes help ensure the build uses the latest stable Chrome and prevent issues with downloading.
Chrome version update:
CHROME_VERSIONargument inbuild/Dockerfileto use version146.0.7680.80-1instead of145.0.7632.116-1.Download reliability improvement:
-Lflag to thecurlcommand inbuild/Dockerfileto follow redirects when downloading the Chrome.debpackage.