Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jenting authored Dec 8, 2024
1 parent 5872001 commit 9e7c142
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ ARG TARGETARCH
ARG VERSION

COPY . /src
RUN cd /src && GOOS=linux GOARCH=$TARGETARCH go build -o /bin/argocd-watcher *.go
RUN cd /src && GOOS=linux GOARCH=$TARGETARCH go build -o /bin/argocd-proxy -race -v .

FROM golang:1.23

COPY --from=build /bin/argocd-proxy /usr/local/bin/argocd-watcher

ENTRYPOINT ["/usr/local/bin/argocd-watcher"]
ENTRYPOINT ["/usr/local/bin/argocd-watcher"]

0 comments on commit 9e7c142

Please sign in to comment.