FROM alpine:latest AS alpine
RUN apk add --no-cache busybox-static
FROM docker.io/velero/velero:<version>
COPY --from=alpine /bin/busybox.static /bin/sh
COPY --from=alpine /bin/busybox.static /bin/sleep
COPY --from=alpine /bin/busybox.static /bin/chmod
COPY --from=alpine /bin/busybox.static /bin/mv
COPY <<'EOF' /velero-fixed
#!/bin/sh
sleep 1;
exec /velero-orig "$@"
EOF
USER root
RUN mv /velero /velero-orig && \
mv /velero-fixed /velero && \
chmod +x /velero
USER cnb:cnb
Content type
Image
Digest
sha256:8f597c7fc…
Size
120.2 MB
Last updated
6 months ago
docker pull gear54rus/test