Fixes random velero DNS errors
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:6b4bd2470…
Size
130.4 MB
Last updated
6 months ago
docker pull gear54rus/velero-dns-fix:v1.18.0