From d970d0ec3c73c5d66a139785a54d19911aa759f3 Mon Sep 17 00:00:00 2001 From: JenTing Date: Sun, 8 Dec 2024 14:11:46 +0800 Subject: [PATCH] Update Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a521138..0a151da 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,10 +5,10 @@ ARG TARGETARCH ARG VERSION COPY . /src -RUN cd /src && GOOS=linux GOARCH=$TARGETARCH go build -o /bin/argocd-proxy *.go +RUN cd /src && GOOS=linux GOARCH=$TARGETARCH go build -o argocd-proxy -race -v . FROM golang:1.23 COPY --from=build /bin/argocd-proxy /usr/local/bin/argocd-proxy -ENTRYPOINT ["/usr/local/bin/argocd-proxy"] \ No newline at end of file +ENTRYPOINT ["/usr/local/bin/argocd-proxy"]