Skip to content

Commit

Permalink
all: use Go 1.21 for building services
Browse files Browse the repository at this point in the history
Use a newer supported version.

For golang/go#64169.

Change-Id: Ice8fea55951bf1615a04aca24a870556c281877a
Reviewed-on: https://go-review.googlesource.com/c/build/+/556359
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
  • Loading branch information
dmitshur authored and gopherbot committed Jan 17, 2024
1 parent 9a6ab88 commit 2e1eb85
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cmd/coordinator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.

FROM golang:1.20-bookworm AS build
FROM golang:1.21-bookworm AS build
LABEL maintainer="golang-dev@googlegroups.com"

RUN mkdir /gocache
Expand Down
2 changes: 1 addition & 1 deletion cmd/gitmirror/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.

FROM golang:1.20-bookworm AS build
FROM golang:1.21-bookworm AS build
LABEL maintainer="golang-dev@googlegroups.com"

RUN mkdir /gocache
Expand Down
2 changes: 1 addition & 1 deletion cmd/gopherbot/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.

FROM golang:1.20 AS build
FROM golang:1.21-bookworm AS build
LABEL maintainer="golang-dev@googlegroups.com"

RUN mkdir /gocache
Expand Down
2 changes: 1 addition & 1 deletion cmd/pubsubhelper/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.

FROM golang:1.20-bookworm AS build
FROM golang:1.21-bookworm AS build
LABEL maintainer="golang-dev@googlegroups.com"

RUN mkdir /gocache
Expand Down
2 changes: 1 addition & 1 deletion cmd/relui/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.

FROM golang:1.20 AS build
FROM golang:1.21-bookworm AS build

COPY go.mod /app/go.mod
COPY go.sum /app/go.sum
Expand Down
2 changes: 1 addition & 1 deletion devapp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.

FROM golang:1.20 AS builder
FROM golang:1.21-bookworm AS builder
LABEL maintainer="golang-dev@googlegroups.com"

RUN mkdir /gocache
Expand Down
2 changes: 1 addition & 1 deletion maintner/maintnerd/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.

FROM golang:1.20 AS build
FROM golang:1.21-bookworm AS build
LABEL maintainer="golang-dev@googlegroups.com"

RUN mkdir /gocache
Expand Down
2 changes: 1 addition & 1 deletion perf/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.

FROM golang:1.20-bookworm AS builder
FROM golang:1.21-bookworm AS builder

COPY go.mod /app/go.mod
COPY go.sum /app/go.sum
Expand Down

0 comments on commit 2e1eb85

Please sign in to comment.