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 9e7c142 commit fc448b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ ARG BUILDPLATFORM
ARG TARGETARCH
ARG VERSION

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

FROM golang:1.23

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

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

0 comments on commit fc448b7

Please sign in to comment.