diff options
author | bnewbold <bnewbold@robocracy.org> | 2023-08-28 19:35:23 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-28 19:35:23 -0700 |
commit | 461c1da6de201dbb8fa6c700137e648b33b13c05 (patch) | |
tree | e8a936ebf0ad58bae340b68f06e1f13a91c08c39 /Dockerfile | |
parent | 40e030793a23ecc4ff7a8da5cf32f705d067b77e (diff) | |
download | voidsky-461c1da6de201dbb8fa6c700137e648b33b13c05.tar.zst |
update golang to v1.21; set GOEXPERIMENT=loopvar (#1256)
* golang: update to v1.21, and set GOEXPERIMENT=loopvar * golang: go mod tidy
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile index 241926db4..388b742cc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.20-bullseye AS build-env +FROM golang:1.21-bullseye AS build-env WORKDIR /usr/src/social-app @@ -13,6 +13,7 @@ ENV GODEBUG="netdns=go" ENV GOOS="linux" ENV GOARCH="amd64" ENV CGO_ENABLED=1 +ENV GOEXPERIMENT="loopvar" COPY . . |