Skip to content

Commit

Permalink
Replace the base image with paketobuildpacks image
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(尹文开) <yinw@vmware.com>
  • Loading branch information
ywk253100 committed Oct 10, 2023
1 parent a789976 commit 250fc6e
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@sha256:f10e1fbf558c630a4b74a987e6c754d45bf59f9ddcefce090f6b111925996767
FROM paketobuildpacks/run-jammy-tiny:0.2.5

LABEL maintainer="Xun Jiang <jxun@vmware.com>"

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 250fc6e

Please sign in to comment.