Fix: dockerfile e2e test command lack environment configuration (#2231)

This commit is contained in:
Somefive
2021-09-27 20:29:58 +08:00
committed by GitHub
parent ddb6285b19
commit ee0a73b5b7
+1
View File
@@ -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} \