mirror of
https://github.com/vmware-tanzu/velero.git
synced 2025-12-23 14:25:22 +00:00
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:
@@ -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
|
||||||
|
|
||||||
|
|||||||
1
changelogs/unreleased/6883-ywk253100
Normal file
1
changelogs/unreleased/6883-ywk253100
Normal file
@@ -0,0 +1 @@
|
|||||||
|
Replace the base image with paketobuildpacks image
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user