Skip to content

Commit 0bcc0e0

Browse files
committed
upgrade golang version to 1.23
Signed-off-by: Nikhil Barge <[email protected]>
1 parent ff19f80 commit 0bcc0e0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ GIT_DIRTY = $(shell git status --porcelain 2> /dev/null)
6060
platform_temp = $(subst -, ,$(ARCH))
6161
GOOS = $(word 1, $(platform_temp))
6262
GOARCH = $(word 2, $(platform_temp))
63-
64-
BUILDER_IMAGE := golang:1.23
63+
SOURCE_PHOTON_IMAGE ?= golang:1.23
64+
BUILDER_IMAGE := $(SOURCE_PHOTON_IMAGE)
6565
PLUGIN_DOCKERFILE ?= Dockerfile-plugin
6666
DATAMGR_DOCKERFILE ?= Dockerfile-datamgr
6767
BACKUPDRIVER_DOCKERFILE ?= Dockerfile-backup-driver
@@ -137,7 +137,7 @@ shell: build-dirs
137137
-v "$$(pwd)/_output/bin:/output:delegated" \
138138
-v $$(pwd)/.go/std/$(GOOS)/$(GOARCH):/usr/local/go/pkg/$(GOOS)/$(GOARCH)_static:delegated \
139139
-v "$$(pwd)/.go/go-build:/.cache/go-build:delegated" \
140-
-e CGO_ENABLED=1 \
140+
-e CGO_ENABLED=1 -e GOEXPERIMENT=boringcrypto \
141141
-e GOPATH=/go \
142142
-w /go/src/$(PKG) \
143143
$(BUILDER_IMAGE) \

hack/build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ if [ -z "${GIT_SHA}" ]; then
4848
fi
4949

5050

51-
export CGO_ENABLED=1
51+
export GOEXPERIMENT=boringcrypto
5252

5353
if [[ -z "${GIT_DIRTY}" ]]; then
5454
GIT_TREE_STATE=clean

0 commit comments

Comments
 (0)