Skip to content

chore(docker): pin apk package versions in build images#109

Merged
ehsanking merged 1 commit into
mainfrom
ehsan/pin-package-versions-in-apk-add
Apr 6, 2026
Merged

chore(docker): pin apk package versions in build images#109
ehsanking merged 1 commit into
mainfrom
ehsan/pin-package-versions-in-apk-add

Conversation

@ehsanking
Copy link
Copy Markdown
Owner

Motivation

  • Hadolint reported unpinned apk add packages in the build images; pinning versions improves reproducibility and supply-chain hygiene.

Description

  • Replace unpinned apk add lines in Dockerfile and Dockerfile.prod with explicit constraints (e.g. openssl=3.*, libc6-compat=1.*, wget=1.*, su-exec=0.2-r*) while keeping the change minimal and compatible with Alpine patch updates.

Testing

  • No automated CI tests were executed in this patch; I verified the modified lines with rg -n "apk add" and git diff, and recommend running npm run lint, npm run build, and building the images with docker build -f Dockerfile . and docker build -f Dockerfile.prod . to validate the changes.

Codex Task

@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@ehsanking ehsanking merged commit e58d892 into main Apr 6, 2026
5 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant