Skip to content

Commit 33740e3

Browse files
committed
all: update Go versions in Dockerfiles
Now that the Go bootstrap version has been updated, the tip playground deployment is failing. We need a better long-term fix, but for now just bump the bootstrap version. Also update the (very old) Go version in the sandbox Dockerfile. Updates golang/go#69238 Change-Id: I14f1bc59904d8fd83cac0aca7efc2dc932a2ce64 Reviewed-on: https://go-review.googlesource.com/c/playground/+/610336 Reviewed-by: Tim King <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
1 parent 521016c commit 33740e3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
# GO_VERSION is provided by Cloud Build, and is set to the latest
1212
# version of Go. See the configuration in the deploy directory.
13-
ARG GO_VERSION=go1.19
13+
ARG GO_VERSION=go1.22.6
1414

1515
############################################################################
1616
# Build Go at GO_VERSION, and build faketime standard library.
@@ -22,7 +22,7 @@ RUN apt-get update && apt-get install -y ${BUILD_DEPS} --no-install-recommends
2222

2323
ENV GOPATH /go
2424
ENV GOROOT_BOOTSTRAP=/usr/local/go-bootstrap
25-
ENV GO_BOOTSTRAP_VERSION go1.20.6
25+
ENV GO_BOOTSTRAP_VERSION go1.22.6
2626
ARG GO_VERSION
2727
ENV GO_VERSION ${GO_VERSION}
2828

sandbox/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# environment so the play-sandbox server can connect to the host's
55
# docker daemon, which has the gvisor "runsc" runtime available.
66

7-
FROM golang:1.18 AS build
7+
FROM golang:1.22 AS build
88

99
COPY go.mod /go/src/playground/go.mod
1010
COPY go.sum /go/src/playground/go.sum

0 commit comments

Comments
 (0)