refactor: stop using GOPATH for building Dex image

Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
This commit is contained in:
Mark Sagi-Kazar 2021-01-14 16:24:55 +01:00
parent 757a1eded5
commit 97606bd623
No known key found for this signature in database
GPG Key ID: 34CC109EB5ED1C2A

View File

@ -4,7 +4,7 @@ ARG TARGETOS
ARG TARGETARCH ARG TARGETARCH
ARG TARGETVARIANT="" ARG TARGETVARIANT=""
WORKDIR /go/src/github.com/dexidp/dex WORKDIR /usr/local/src/dex
ENV GOOS=${TARGETOS} \ ENV GOOS=${TARGETOS} \
GOARCH=${TARGETARCH} \ GOARCH=${TARGETARCH} \