Skip to content

Commit

Permalink
Change argo-server crt/key owner (#4750)
Browse files Browse the repository at this point in the history
Signed-off-by: Daisuke Taniwaki <daisuketaniwaki@gmail.com>
  • Loading branch information
dtaniwaki authored Dec 17, 2020
1 parent fbb4e8d commit aed25fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ ARG IMAGE_OS=linux
COPY --from=argoexec-base /etc/ssh/ssh_known_hosts /etc/ssh/ssh_known_hosts
COPY --from=argoexec-base /etc/nsswitch.conf /etc/nsswitch.conf
COPY --from=argoexec-base /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY --from=argo-build /go/src/github.com/argoproj/argo/argo-server.crt argo-server.crt
COPY --from=argo-build /go/src/github.com/argoproj/argo/argo-server.key argo-server.key
COPY --from=argo-build --chown=8737 /go/src/github.com/argoproj/argo/argo-server.crt argo-server.crt
COPY --from=argo-build --chown=8737 /go/src/github.com/argoproj/argo/argo-server.key argo-server.key
COPY --from=argo-build /go/src/github.com/argoproj/argo/dist/argo-${IMAGE_OS}-* /bin/argo
ENTRYPOINT [ "argo" ]
4 changes: 2 additions & 2 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ FROM scratch as argocli
USER 8737
COPY --from=argoexec-base /etc/ssh/ssh_known_hosts /etc/ssh/ssh_known_hosts
COPY --from=argoexec-base /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY argo-server.crt argo-server.crt
COPY argo-server.key argo-server.key
COPY --chown=8737 argo-server.crt argo-server.crt
COPY --chown=8737 argo-server.key argo-server.key
COPY argo /bin/
ENTRYPOINT [ "argo" ]

0 comments on commit aed25fe

Please sign in to comment.