deps: bump Go version in Dockerfiles (#8522)

This commit is contained in:
Stanley Cheung 2025-08-19 14:04:51 -07:00 committed by GitHub
parent 33ec81b40e
commit fa0d658320
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 7 additions and 7 deletions

View File

@ -15,7 +15,7 @@
# Dockerfile for building the example client. To build the image, run the
# following command from grpc-go directory:
# docker build -t <TAG> -f examples/features/csm_observability/client/Dockerfile .
FROM golang:1.23-alpine as build
FROM golang:1.25-alpine as build
RUN apk --no-cache add curl

View File

@ -16,7 +16,7 @@
# following command from grpc-go directory:
# docker build -t <TAG> -f examples/features/csm_observability/server/Dockerfile .
FROM golang:1.23-alpine as build
FROM golang:1.25-alpine as build
RUN apk --no-cache add curl
# Make a grpc-go directory and copy the repo into it.
WORKDIR /go/src/grpc-go

View File

@ -17,7 +17,7 @@
# Stage 1: Build the interop test client and server
#
FROM golang:1.23-bullseye as build
FROM golang:1.24-bullseye as build
WORKDIR /grpc-go
COPY . .
@ -36,7 +36,7 @@ RUN go build -o server/ server/server.go && \
# with the given parameters.
#
FROM golang:1.23-bullseye
FROM golang:1.24-bullseye
ENV GRPC_GO_LOG_SEVERITY_LEVEL info
ENV GRPC_GO_LOG_VERBOSITY_LEVEL 2

View File

@ -16,7 +16,7 @@
# following command from grpc-go directory:
# docker build -t <TAG> -f interop/xds/client/Dockerfile .
FROM golang:1.23-alpine as build
FROM golang:1.25-alpine as build
# Make a grpc-go directory and copy the repo into it.
WORKDIR /go/src/grpc-go

View File

@ -16,7 +16,7 @@
# following command from grpc-go directory:
# docker build -t <TAG> -f interop/xds/server/Dockerfile .
FROM golang:1.23-alpine as build
FROM golang:1.25-alpine as build
# Make a grpc-go directory and copy the repo into it.
WORKDIR /go/src/grpc-go

View File

@ -9,7 +9,7 @@ export GOPATH="${HOME}/gopath"
pushd grpc-go/interop/xds/client
# Install a version of Go supported by gRPC for the new features, e.g.
# errors.Is()
gofilename=go1.23.0.linux-amd64.tar.gz
gofilename=go1.25.0.linux-amd64.tar.gz
curl --retry 3 -O -L "https://go.dev/dl/${gofilename}"
sudo tar -C /usr/local -xf "${gofilename}"
sudo ln -s /usr/local/go/bin/go /usr/bin/go