Skip to content

Commit c826460

Browse files
authored
Update Dockerfile for new Go versions (#13)
`go get` is dead, long live `go install`. Tested in lima + nerdctl locally.
1 parent 339b429 commit c826460

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ WORKDIR /src
1919
# version to be used, to avoid pulling from GitHub again (and make this build
2020
# work for forks, etc).
2121
ENV GOPRIVATE="github.com/G-Research/prommsd"
22-
RUN GO111MODULE=on go get github.com/G-Research/prommsd/cmd/prommsd@$(cat /git-commit-id)
22+
RUN GO111MODULE=on go install github.com/G-Research/prommsd/cmd/prommsd@$(cat /git-commit-id)
2323

2424
# final stage
2525
FROM alpine

0 commit comments

Comments
 (0)