Replace the base image with paketobuildpacks image (#6883)

Replace the base image with paketobuildpacks image

Fixes #6851

Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
This commit is contained in:
Wenkai Yin(尹文开)
2023-09-30 00:19:51 +08:00
committed by GitHub
parent 8e01d1b9be
commit 0d79afe049
3 changed files with 4 additions and 3 deletions

View File

@@ -70,7 +70,7 @@ RUN mkdir -p /output/usr/bin && \
go clean -modcache -cache go clean -modcache -cache
# Velero image packing section # Velero image packing section
FROM gcr.io/distroless/base-nossl-debian11:nonroot FROM paketobuildpacks/run-jammy-tiny:latest
LABEL maintainer="Xun Jiang <jxun@vmware.com>" LABEL maintainer="Xun Jiang <jxun@vmware.com>"
@@ -78,5 +78,5 @@ COPY --from=velero-builder /output /
COPY --from=restic-builder /output / COPY --from=restic-builder /output /
USER nonroot:nonroot USER cnb:cnb

View File

@@ -0,0 +1 @@
Replace the base image with paketobuildpacks image

View File

@@ -89,7 +89,7 @@ else
fi fi
if [[ -z "$BUILDX_PLATFORMS" ]]; then if [[ -z "$BUILDX_PLATFORMS" ]]; then
BUILDX_PLATFORMS="linux/amd64,linux/arm64,linux/arm/v7,linux/ppc64le" BUILDX_PLATFORMS="linux/amd64,linux/arm64"
fi fi
# Debugging info # Debugging info