Skip to content

Commit 045e9e7

Browse files
fix: Set GOTOOLCHAIN=auto to avoid build failures (#149)
Also bumps the Go version to the latest 1.24.3
1 parent 37853ae commit 045e9e7

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,17 @@
1515
# <other stuff to ignore>
1616
# And use this digest in FROM
1717

18-
ARG base_sha=2b1cbf278ce05a2a310a3d695ebb176420117a8cfcfcc4e5e68a1bef5f6354da
18+
ARG base_sha=39d9e7d9c5d9c9e4baf0d8fff579f06d5032c0f4425cdec9e86732e8e4e374dc
1919

20-
FROM golang:1.24.0@sha256:${base_sha} AS builder
20+
FROM golang:1.24.3@sha256:${base_sha} AS builder
2121

2222
COPY . /sources
2323
WORKDIR /sources
2424
RUN go build -o scip-go ./cmd/scip-go
2525

2626
# Keep in sync with builder image
27-
FROM golang:1.24.0@sha256:${base_sha} AS final
27+
FROM golang:1.24.3@sha256:${base_sha} AS final
2828

2929
COPY --from=builder /sources/scip-go /usr/bin/
30+
ENV GOTOOLCHAIN=auto
3031
CMD ["scip-go"]

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/sourcegraph/scip-go
22

3-
go 1.24.0
3+
go 1.24.3
44

55
require (
66
github.com/charmbracelet/log v0.4.0

0 commit comments

Comments
 (0)