From ee0a73b5b7abcbc481411715517f0cbca8586635 Mon Sep 17 00:00:00 2001 From: Somefive Date: Mon, 27 Sep 2021 20:29:58 +0800 Subject: [PATCH] Fix: dockerfile e2e test command lack environment configuration (#2231) --- Dockerfile.e2e | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile.e2e b/Dockerfile.e2e index d95af737c..2d532b729 100644 --- a/Dockerfile.e2e +++ b/Dockerfile.e2e @@ -24,6 +24,7 @@ ARG VERSION ARG GITVERSION RUN apk add gcc musl-dev libc-dev ;\ + GO111MODULE=on CGO_ENABLED=0 GOOS=linux GOARCH=${TARGETARCH} \ go test -c -o manager-${TARGETARCH} -cover -covermode=atomic -coverpkg ./... . RUN GO111MODULE=on CGO_ENABLED=0 GOOS=linux GOARCH=${TARGETARCH} \