about summary refs log tree commit diff
path: root/Dockerfile
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2023-08-28 19:35:23 -0700
committerGitHub <noreply@github.com>2023-08-28 19:35:23 -0700
commit461c1da6de201dbb8fa6c700137e648b33b13c05 (patch)
treee8a936ebf0ad58bae340b68f06e1f13a91c08c39 /Dockerfile
parent40e030793a23ecc4ff7a8da5cf32f705d067b77e (diff)
downloadvoidsky-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--Dockerfile3
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 . .