Skip to content

Commit

Permalink
Update Go build version to 1.20.8. (#1441)
Browse files Browse the repository at this point in the history
* Update Go build version to `1.20.8`.

* Follow `dev-docs/upgrade-go.md` for Go update.
  • Loading branch information
franciscovalentecastro authored Sep 26, 2023
1 parent ef7383b commit 0f1f857
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ ARG CMAKE_VERSION=3.25.2
ARG OPENJDK_MAJOR_VERSION=17
ARG OPENJDK_FULL_VERSION=17.0.8
ARG OPENJDK_VERSION_SUFFIX=7
ARG GO_VERSION=1.21.1
ARG GO_VERSION=1.20.8

# Manually prepare a recent enough version of CMake.
# This should be used on platforms where the default package manager
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.windows
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ RUN Expand-Archive /local/win_flex_bison.zip -Destination /WinFlexBison; `
#
# Install Golang
#
ADD https://go.dev/dl/go1.21.1.windows-amd64.msi /local/go1.21.1.windows-amd64.msi
ADD https://go.dev/dl/go1.20.8.windows-amd64.msi /local/go1.20.8.windows-amd64.msi

RUN Start-Process msiexec.exe `
-ArgumentList '/i C:\local\go1.21.1.windows-amd64.msi ', '/quiet ', `
-ArgumentList '/i C:\local\go1.20.8.windows-amd64.msi ', '/quiet ', `
'/norestart ', 'ALLUSERS=1,INSTALLDIR=C:\Go' -NoNewWindow -Wait;

#
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/template-header
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ ARG CMAKE_VERSION=3.25.2
ARG OPENJDK_MAJOR_VERSION=17
ARG OPENJDK_FULL_VERSION=17.0.8
ARG OPENJDK_VERSION_SUFFIX=7
ARG GO_VERSION=1.21.1
ARG GO_VERSION=1.20.8

# Manually prepare a recent enough version of CMake.
# This should be used on platforms where the default package manager
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/GoogleCloudPlatform/ops-agent

go 1.21
go 1.20

require (
cloud.google.com/go/compute/metadata v0.2.3
Expand Down

0 comments on commit 0f1f857

Please sign in to comment.