Skip to content

build(docker): Bump image base to Alpine 3.22.7 - #3462

Merged
BYK merged 2 commits into
masterfrom
vuln-3216/alpine-3.22.7
Oct 28, 2026
Merged

BYK merged 2 commits into
masterfrom
vuln-3216/alpine-3.22.7

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

This follows up on #3447 and is tracked in VULN-3216. #3447 kept the alpine:3.22.0 base and forced ca-certificates>=20261020-r0 through apk to drop the distrusted eMudhra/emSign roots. Alpine 3.22.7 now ships that package in the base image, so this replaces the pin with a base image bump.

  • Dockerfile: the runtime stage moves from alpine:3.22.0@sha256:8a1f59ff… to alpine:3.22.7@sha256:2e0b81d6…, still digest-pinned. apk add ca-certificates goes back to unpinned.
  • CHANGELOG.md: adds an Unreleased internal-changes entry.
  • package-lock.json: bumps the @sentry/cli-* optional dependencies from 3.8.1 to 3.8.2. This is unrelated to the Docker change. It fixes the Node CI jobs, which have failed on master since the 3.8.2 release, and is included here to unblock this PR. The 3.8.2 post-release step (publish run) gave up after its 30-minute wait for @sentry/[email protected], which reached npm about 54 minutes after @sentry/cli. Because of that, the lockfile was never bumped and npm ci rejected it as out of sync with package.json. I regenerated it with npm install --package-lock-only --ignore-scripts --prefer-online (npm 11.6.0, the Volta pin). The only change is the 8 platform entries, which now also carry resolved and integrity, checked against the registry.

Checked locally: I built the runtime stage, without the binary copy. ca-certificates and ca-certificates-bundle come out at 20261020-r0. The builder stage (rust:1.91.1-alpine3.20) is unchanged. It doesn't ship. With the new lockfile, npm ci --ignore-scripts, npm run check:types, and npm run build pass.

via Geoff Goldsmith.

--

View Junior Session [Sentry]

Alpine 3.22.7 already ships ca-certificates 20261020-r0, which drops the
distrusted eMudhra/emSign roots, so the base image is clean and the
ca-certificates version pin added in #3447 is no longer needed.

Refs VULN-3216

Co-Authored-By: Geoff Goldsmith <[email protected]>
@sentry-junior
sentry-junior Bot requested review from a team and szokeasaurusrex as code owners October 27, 2026 19:31
@linear-code

linear-code Bot commented Oct 27, 2026

Copy link
Copy Markdown

VULN-3216

The 3.8.2 post-release step timed out waiting for
@sentry/cli-linux-arm64 on npm, so package-lock.json still pinned the
platform packages to 3.8.1 and npm ci failed.

Co-Authored-By: Geoff Goldsmith <[email protected]>
@sentry-junior
sentry-junior Bot requested a review from a team as a code owner October 28, 2026 13:31
@BYK
BYK merged commit b145211 into master Oct 28, 2026
29 checks passed
@BYK
BYK deleted the vuln-3216/alpine-3.22.7 branch October 28, 2026 14:07
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.

2 participants