Skip to content

Update system packages when building Docker image to avoid picking up upstream vulnerabilities#8752

Merged
joehan merged 1 commit intomasterfrom
jh-docker-fix
Jun 13, 2025
Merged

Update system packages when building Docker image to avoid picking up upstream vulnerabilities#8752
joehan merged 1 commit intomasterfrom
jh-docker-fix

Conversation

@joehan
Copy link
Copy Markdown
Member

@joehan joehan commented Jun 13, 2025

Description

Update system packages during Docker build so that we don't pick up upstream vulnerabilities. See b/424671703 for context - lts-alpine had a vulnerable version of setuptools, which we picked up. It is not exposed through our image AFAICT, but I want to avoid seeing issues like this in the future.

Scenarios Tested

Built the image on a test project - it runs w/o issue.

@joehan joehan enabled auto-merge (squash) June 13, 2025 16:25
@joehan joehan disabled auto-merge June 13, 2025 16:26
@joehan joehan merged commit 843b6b4 into master Jun 13, 2025
46 of 50 checks passed
@joehan joehan deleted the jh-docker-fix branch June 13, 2025 16:26
@github-project-automation github-project-automation Bot moved this from Approved [PR] to Done in [Cloud] Extensions + Functions Jun 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants