We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44260f8 commit 479d142Copy full SHA for 479d142
deb/Dockerfile
@@ -1,4 +1,4 @@
1
-ARG GO_VERSION=1.18.5
+ARG GO_VERSION=1.20.4
2
ARG DISTRO=ubuntu
3
ARG SUITE=focal
4
@@ -12,7 +12,9 @@ RUN mkdir -p /build
12
13
WORKDIR /build
14
ENV GOPROXY=https://proxy.golang.org|direct
15
-ENV GO111MODULE=off
+ENV GO111MODULE=on
16
+ENV GOFLAGS="-mod=vendor"
17
+ENV CGO_ENABLED="1"
18
ENV GOPATH=/build
19
ENV PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
20
COPY --from=golang /usr/local/go /usr/local/go
0 commit comments