Skip to content

Commit

Permalink
Bump up min go version to 1.20
Browse files Browse the repository at this point in the history
controller-runtime v15 has a min Golang version requirement that
breaks the container builds.  This change bumps up the Go version used
to build the container.  Starting 1.21 Golang, go.mod requires the Go
version and treats that as min required go version to compile your
binary.  So, also bump up the Go version for local builds.
  • Loading branch information
aruneshpa committed Sep 22, 2023
1 parent ef01fa3 commit 08e6868
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
@@ -1,5 +1,5 @@
# Go version used to build the binaries.
ARG GO_VERSION=1.18.4
ARG GO_VERSION=1.20

## Docker image used to build the binaries.
FROM golang:${GO_VERSION} as builder
Expand Down
2 changes: 1 addition & 1 deletion go.mod
@@ -1,6 +1,6 @@
module github.com/vmware-tanzu/vm-operator

go 1.18
go 1.20

replace (
github.com/envoyproxy/go-control-plane => github.com/envoyproxy/go-control-plane v0.9.4
Expand Down

0 comments on commit 08e6868

Please sign in to comment.