tools/docker: pin bazel.dockerfile base image digest (CORE-16461)#31007
Open
tyson-redpanda wants to merge 2 commits into
Open
tools/docker: pin bazel.dockerfile base image digest (CORE-16461)#31007tyson-redpanda wants to merge 2 commits into
tyson-redpanda wants to merge 2 commits into
Conversation
bae1790 to
80d5ec8
Compare
Snyk's GitHub integration scans Dockerfiles statically — it reads FROM ubuntu:noble and flags the base image without running the Dockerfile, so apt-get upgrade -y in the RUN layer is invisible to it. Pinning to a specific manifest-list digest lets Snyk resolve the exact image and verify it contains the patched OpenSSL package, clearing SNYK-UBUNTU2404-OPENSSL-17268920. As a side effect, the new digest also busts the ECR layer cache so the next CI build runs apt-get upgrade fresh. Bump BASE_IMAGE_DIGEST to the latest ubuntu:noble manifest digest when upgrading the base image in future. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
80d5ec8 to
b938550
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Snyk's GitHub integration scans Dockerfiles statically — it reads
FROM ubuntu:nobleand flags the base image without running theDockerfile, so
apt-get upgrade -yin theRUNlayer is invisible toit. Pinning to a specific manifest-list digest lets Snyk resolve the
exact image and verify it contains the patched OpenSSL package, clearing
SNYK-UBUNTU2404-OPENSSL-17268920 (CORE-16461). As a side effect, the
new digest also busts the ECR layer cache so the next CI build runs
apt-get upgradefresh.Bump
BASE_IMAGE_DIGESTto the latestubuntu:noblemanifest digestwhen upgrading the base image in future.
Backports Required
Release Notes