Skip to content

Commit

Permalink
chore: Update Dockerfile to use Go 1.23.2
Browse files Browse the repository at this point in the history
  • Loading branch information
varungandhi-src committed Oct 2, 2024
1 parent 620b8e6 commit 4ee8a8d
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
golang 1.23.1
golang 1.23.2
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# ChangeLog

## v0.1.21

- Upgrades Dockerfile to use Go 1.23.2 (released Oct 1 2024).
(https://github.com/sourcegraph/scip-go/pull/136)

## v0.1.20

- Fixes a bug which caused test files using the same package name
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@
# <other stuff to ignore>
# And use this digest in FROM

ARG base_sha=b46e8734b39f93a584eae135fc545edfdee99f1fb55c077fca908a15eb07010c
ARG base_sha=adee809c2d0009a4199a11a1b2618990b244c6515149fe609e2788ddf164bd10

FROM golang:1.23.1@sha256:${base_sha} as builder
FROM golang:1.23.2@sha256:${base_sha} as builder

COPY . /sources
WORKDIR /sources
RUN go build -o scip-go ./cmd/scip-go

# Keep in sync with builder image
FROM golang:1.23.1@sha256:${base_sha} as final
FROM golang:1.23.2@sha256:${base_sha} as final

COPY --from=builder /sources/scip-go /usr/bin/
CMD ["scip-go"]
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/sourcegraph/scip-go

go 1.23.1
go 1.23.2

require (
github.com/charmbracelet/log v0.4.0
Expand Down
2 changes: 1 addition & 1 deletion internal/loader/stdlib.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// THIS FILE IS GENERATED. SEE ./scripts/gen_std_lib.sh
// Generated by: go version go1.23.1 darwin/arm64
// Generated by: go version go1.23.2 darwin/arm64
package loader

var contained = struct{}{}
Expand Down

0 comments on commit 4ee8a8d

Please sign in to comment.