File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44#
55# Nothing fancy here: we copy in the source code and build on the Alpine Go
66# image. Refer to .dockerignore to get a sense of what we're not going to copy.
7- FROM golang:1.26.5 -alpine3.23@sha256:622e56dbc11a8cfe87cafa2331e9a201877271cbff918af53d3be315f3da88cc AS builder
7+ FROM golang:1.26.10 -alpine3.23@sha256:a07f231c19b03e6106cf442f02a5bcf262147e744d15b7b5e4b6d81d420c70a0 AS builder
88
99COPY . /src
1010WORKDIR /src
1111RUN go build ./cmd/src
1212
1313# This stage should be kept in sync with Dockerfile.release.
14- FROM alpine:3.22@sha256:4b7ce07002c69e8f3d704a9c5d6fd3053be500b7f1c69fc0d80990c2ad8dd412
14+ FROM alpine:3.22@sha256:5291449c3df73caf6ed85e649dec1b9e818b39a5d8c871e97afc13e9cd5e8fa8
1515
1616# needed for `src code-intel upload` and `src actions exec`
17- RUN apk add --no-cache git
17+ # ca-certificates-bundle >= 20261020-r0 drops the eMudhra roots (CVE-2026-111943).
18+ RUN apk add --no-cache git && apk upgrade --no-cache ca-certificates-bundle
1819
1920COPY --from=builder /src/src /usr/bin/
2021ENTRYPOINT ["/usr/bin/src" ]
Original file line number Diff line number Diff line change 22# suitable for testing, since it depends on a src binary being at the project
33# root _and_ that src binary being runnable on Alpine. To test this, refer to
44# the main Dockerfile, which should have an identical second stage.
5- FROM alpine:3.22@sha256:4bcff63911fcb4448bd4fdacec207030997caf25e9bea4045fa6c8c44de311d1
5+ FROM alpine:3.22@sha256:5291449c3df73caf6ed85e649dec1b9e818b39a5d8c871e97afc13e9cd5e8fa8
66
77# needed for `src code-intel upload` and `src actions exec`
8- RUN apk add --no-cache git
8+ # ca-certificates-bundle >= 20261020-r0 drops the eMudhra roots (CVE-2026-111943).
9+ RUN apk add --no-cache git && apk upgrade --no-cache ca-certificates-bundle
910
1011COPY src /usr/bin/
1112ENTRYPOINT ["/usr/bin/src"]
Original file line number Diff line number Diff line change 11module github.com/sourcegraph/src-cli
22
3- go 1.26.5
3+ go 1.26.10
44
55require (
66 cloud.google.com/go/storage v1.50.0
Original file line number Diff line number Diff line change 11[tools ]
2- golang = " 1.26.5 "
2+ golang = " 1.26.10 "
33shfmt = " 3.8.0"
44shellcheck = " 0.10.0"
You can’t perform that action at this time.
0 commit comments