Skip to content

Commit 7c47342

Browse files
committed
test
1 parent ea89ef4 commit 7c47342

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.pipelines/cni/cilium/nightly-release-test.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,7 @@ stages:
7070
echo "Patching Dockerfile: $DOCKERFILE_PATH"
7171
7272
# Add ARG and ENV statements to disable systemcrypto for Microsoft Go
73-
sed -i '/^FROM.*builder/a ARG GOEXPERIMENT=boringcrypto \nENV GOEXPERIMENT=${GOEXPERIMENT}\nENV CGO_ENABLED=1' "$DOCKERFILE_PATH"
74-
75-
# Clear Go module and build caches completely, then rebuild everything with boringcrypto
76-
sed -i '/ENV CGO_ENABLED=1/a RUN rm -rf /go/pkg /root/.cache && \\\n mkdir -p /go/pkg /tmp/gocache && \\\n cd /tmp && \\\n GOCACHE=/tmp/gocache CGO_ENABLED=1 go env && \\\n GOCACHE=/tmp/gocache CGO_ENABLED=1 GOEXPERIMENT=boringcrypto go install -a -x std' "$DOCKERFILE_PATH"
73+
sed -i '/^FROM.*builder/a ARG GOEXPERIMENT=boringcrypto \nENV GOEXPERIMENT=${GOEXPERIMENT}' "$DOCKERFILE_PATH"
7774
fi
7875
7976
BUILD_ARGS=${GO_ARGS}${ALPINE_ARGS}

0 commit comments

Comments
 (0)