Commit 0bcc0e0 1 parent ff19f80 commit 0bcc0e0 Copy full SHA for 0bcc0e0
File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -60,8 +60,8 @@ GIT_DIRTY = $(shell git status --porcelain 2> /dev/null)
60
60
platform_temp = $(subst -, ,$(ARCH ) )
61
61
GOOS = $(word 1, $(platform_temp ) )
62
62
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 )
65
65
PLUGIN_DOCKERFILE ?= Dockerfile-plugin
66
66
DATAMGR_DOCKERFILE ?= Dockerfile-datamgr
67
67
BACKUPDRIVER_DOCKERFILE ?= Dockerfile-backup-driver
@@ -137,7 +137,7 @@ shell: build-dirs
137
137
-v " $$ (pwd)/_output/bin:/output:delegated" \
138
138
-v $$(pwd ) /.go/std/$(GOOS ) /$(GOARCH ) :/usr/local/go/pkg/$(GOOS ) /$(GOARCH ) _static:delegated \
139
139
-v " $$ (pwd)/.go/go-build:/.cache/go-build:delegated" \
140
- -e CGO_ENABLED=1 \
140
+ -e CGO_ENABLED=1 -e GOEXPERIMENT=boringcrypto \
141
141
-e GOPATH=/go \
142
142
-w /go/src/$(PKG ) \
143
143
$(BUILDER_IMAGE ) \
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ if [ -z "${GIT_SHA}" ]; then
48
48
fi
49
49
50
50
51
- export CGO_ENABLED=1
51
+ export GOEXPERIMENT=boringcrypto
52
52
53
53
if [[ -z " ${GIT_DIRTY} " ]]; then
54
54
GIT_TREE_STATE=clean
You can’t perform that action at this time.
0 commit comments