Skip to content

Commit

Permalink
feat: add empty dir into wait container (argoproj#8390)
Browse files Browse the repository at this point in the history
Signed-off-by: Hao Xin <[email protected]>
  • Loading branch information
haoxins authored Apr 26, 2022
1 parent c617706 commit 06e9445
Show file tree
Hide file tree
Showing 5 changed files with 5,861 additions and 14 deletions.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -92,15 +92,18 @@ RUN --mount=type=cache,target=/root/.cache/go-build make dist/argo

####################################################################################################

FROM gcr.io/distroless/static as argoexec
FROM scratch as argoexec

COPY --from=argoexec-build /usr/local/bin/kubectl /bin/
COPY --from=argoexec-build /usr/local/bin/jq /bin/
COPY --from=argoexec-build /go/src/github.com/argoproj/argo-workflows/dist/argoexec /bin/
COPY --from=argoexec-build /etc/mime.types /etc/mime.types
COPY --from=argocli-build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY hack/ssh_known_hosts /etc/ssh/
COPY hack/nsswitch.conf /etc/

RUN --mount=from=busybox:latest,src=/bin/,dst=/bin/ mkdir -m 1755 /tmp

ENTRYPOINT [ "argoexec" ]

####################################################################################################
Expand Down
Loading

0 comments on commit 06e9445

Please sign in to comment.