Skip to content

chore(deps): Bump the docker-minor-patch group across 1 directory with 2 updates - #1470

Merged
IAmJSD merged 2 commits into
mainfrom
dependabot/docker/docker-minor-patch-41dde136fd
Oct 26, 2026
Merged

IAmJSD merged 2 commits into
mainfrom
dependabot/docker/docker-minor-patch-41dde136fd

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Bumps the docker-minor-patch group with 2 updates in the / directory: golang and alpine.

Updates golang from 1.26.10-alpine3.24 to 1.27.2-alpine3.24

Updates alpine from 3.24.1 to 3.24.2

@dependabot
dependabot Bot requested a review from cristim as a code owner October 26, 2026 10:46
@dependabot dependabot Bot added the type/chore Maintenance / non-user-visible label Oct 26, 2026
@coderabbitai

coderabbitai Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@dependabot dependabot Bot changed the title chore(deps): Bump the docker-minor-patch group with 2 updates chore(deps): Bump the docker-minor-patch group across 1 directory with 2 updates Oct 26, 2026
@dependabot
dependabot Bot force-pushed the dependabot/docker/docker-minor-patch-41dde136fd branch from 0d70665 to 4d3455d Compare October 26, 2026 13:38
…h 2 updates

Bumps the docker-minor-patch group with 2 updates in the / directory: golang and alpine.


Updates `golang` from 1.26.10-alpine3.24 to 1.27.2-alpine3.24

Updates `alpine` from 3.24.1 to 3.24.2

---
updated-dependencies:
- dependency-name: alpine
  dependency-version: 3.24.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: docker-minor-patch
- dependency-name: golang
  dependency-version: 1.27.2-alpine3.24
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: docker-minor-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/docker/docker-minor-patch-41dde136fd branch from 4d3455d to ea2b0d5 Compare October 26, 2026 16:56
The group bumped the golang images to 1.27.2, whose standard library
carries GO-2026-6809 (crypto/x509 intermediate distrust, fixed in 1.26.10
and 1.27.3). The shipped-image scan in the "Build Docker Image" jobs
correctly failed on both /app/cudly and /usr/local/bin/migrate. The
build itself was fine; the go.mod/toolchain line was not involved.

go.mod, go.work and ci.yml's GO_VERSION all pin Go 1.26.10, so CI tests
on 1.26 while the image would have shipped a 1.27 build. Restore the
golang:1.26.10 builder (main's digest) in Dockerfile, Dockerfile.dev and
Dockerfile.test, and keep the alpine 3.24.1 -> 3.24.2 runtime bump.

Add a Dependabot ignore for golang semver-minor in the docker ecosystem,
so the next group run does not reopen a 1.27 image bump on its own. A
Go 1.27 move should update go.mod, go.work, GO_VERSION and the three
Dockerfiles together. Go 1.26.x patch releases still arrive.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@IAmJSD

IAmJSD commented Oct 26, 2026

Copy link
Copy Markdown
Collaborator

What failed: the image built and ran without problems. What failed was the shipped-image scan (scripts/scan-shipped-image.sh) in both "Build Docker Image" legs. golang 1.27.2's standard library carries GO-2026-6809 (crypto/x509 intermediate distrust), which is fixed in 1.26.10 and 1.27.3. Both /app/cudly and /usr/local/bin/migrate were flagged. The go.mod go/toolchain line wasn't involved. I reproduced it locally with docker build plus the scan script and got the same two FIXABLE findings.

Fix (b89201d):

  • I put the golang builder back to 1.26.10-alpine3.24 (main's digest) in Dockerfile, Dockerfile.dev and Dockerfile.test. go.mod, go.work and ci.yml's GO_VERSION all pin 1.26.10. Moving only the images would ship a Go 1.27 build of code that CI tests on 1.26.
  • The alpine 3.24.1 → 3.24.2 runtime bump stays (I also updated the refresh comment).
  • I added a Dependabot ignore for golang version-update:semver-minor in the docker ecosystem, so the next group run doesn't reopen a 1.27 image bump on its own. Go 1.26.x patch releases still come through.

Trade-off: the image stays on Go 1.26 until someone moves to 1.27 on purpose. That move should update go.mod, go.work, GO_VERSION and the three Dockerfiles together, on 1.27.3 or later.

Local checks: docker build of the fixed tree (amd64) succeeds. scan-shipped-image.sh with the pinned govulncheck v1.1.4 reports OK: both binaries are built with go1.26.10, and the only advisory is GO-2026-5932, which has no published fix and is tolerated. /app/cudly -h runs and migrate -version prints v4.19.1. The runtime is alpine 3.24.2. hadolint, check-yaml, trivy config v0.69.3, the Dockerfile migrate-drift test, the secrets scan and the git-secrets allowlist test all pass.

@IAmJSD
IAmJSD merged commit c30efec into main Oct 26, 2026
42 checks passed
@dependabot
dependabot Bot deleted the dependabot/docker/docker-minor-patch-41dde136fd branch October 26, 2026 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type/chore Maintenance / non-user-visible

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant