Skip to content

Commit

Permalink
Replace the base image with paketobuildpacks image (vmware-tanzu#6883)
Browse files Browse the repository at this point in the history
Replace the base image with paketobuildpacks image

Fixes vmware-tanzu#6851

Signed-off-by: Wenkai Yin(尹文开) <[email protected]>
Signed-off-by: Christian Jürges <[email protected]>
  • Loading branch information
ywk253100 authored and chrisamti committed Oct 1, 2023
1 parent 8e01d1b commit b84904d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ RUN mkdir -p /output/usr/bin && \
go clean -modcache -cache

# Velero image packing section
FROM gcr.io/distroless/base-nossl-debian11:nonroot
FROM paketobuildpacks/run-jammy-tiny:latest

LABEL maintainer="Xun Jiang <[email protected]>"

COPY --from=velero-builder /output /

COPY --from=restic-builder /output /

USER nonroot:nonroot
USER cnb:cnb

1 change: 1 addition & 0 deletions changelogs/unreleased/6883-ywk253100
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Replace the base image with paketobuildpacks image
2 changes: 1 addition & 1 deletion hack/docker-push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b84904d

Please sign in to comment.