diff --git a/Dockerfile b/Dockerfile index 587a0e0988..5789e0f981 100644 --- a/Dockerfile +++ b/Dockerfile @@ -68,7 +68,7 @@ RUN mkdir -p /output/usr/bin && \ /go/src/github.com/vmware-tanzu/velero/hack/build-restic.sh # Velero image packing section -FROM gcr.io/distroless/base-nossl-debian11:nonroot +FROM paketobuildpacks/run-jammy-tiny:latest LABEL maintainer="Xun Jiang " @@ -76,5 +76,5 @@ COPY --from=velero-builder /output / COPY --from=restic-builder /output / -USER nonroot:nonroot +USER cnb:cnb diff --git a/changelogs/unreleased/6883-ywk253100 b/changelogs/unreleased/6883-ywk253100 new file mode 100644 index 0000000000..bc8d80b92e --- /dev/null +++ b/changelogs/unreleased/6883-ywk253100 @@ -0,0 +1 @@ +Replace the base image with paketobuildpacks image \ No newline at end of file diff --git a/hack/docker-push.sh b/hack/docker-push.sh index d675bffd34..e503358c9f 100755 --- a/hack/docker-push.sh +++ b/hack/docker-push.sh @@ -89,7 +89,7 @@ else fi if [[ -z "$BUILDX_PLATFORMS" ]]; then - BUILDX_PLATFORMS="linux/amd64,linux/arm64,linux/arm/v7,linux/ppc64le" + BUILDX_PLATFORMS="linux/amd64,linux/arm64" fi # Debugging info