Skip to content

Commit

Permalink
use scratch
Browse files Browse the repository at this point in the history
Signed-off-by: Vince Prignano <vincepri@redhat.com>
  • Loading branch information
vincepri committed Apr 5, 2024
1 parent 7fb94dd commit 792cb59
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hack/tools/envtest/darwin/Dockerfile
Expand Up @@ -56,5 +56,5 @@ RUN curl -sfLO https://github.com/coreos/etcd/releases/download/${ETCD_VERSION}/
cp ${ETCD_BASE_NAME}/etcd $DEST

# Build the final image with the binaries.
FROM gcr.io/distroless/static:nonroot
FROM scratch
COPY --from=builder /controller-tools/envtest /controller-tools/envtest
2 changes: 1 addition & 1 deletion hack/tools/envtest/linux/Dockerfile
Expand Up @@ -45,5 +45,5 @@ RUN curl -sfLO https://github.com/coreos/etcd/releases/download/${ETCD_VERSION}/
cp ${ETCD_BASE_NAME}/etcd $DEST

# Build the final image with the binaries.
FROM gcr.io/distroless/static:nonroot
FROM scratch
COPY --from=builder /controller-tools/envtest /controller-tools/envtest
2 changes: 1 addition & 1 deletion hack/tools/envtest/windows/Dockerfile
Expand Up @@ -56,5 +56,5 @@ RUN curl -sfLO https://github.com/coreos/etcd/releases/download/${ETCD_VERSION}/
cp ${ETCD_BASE_NAME}/etcd.exe $DEST

# Build the final image with the binaries.
FROM gcr.io/distroless/static:nonroot
FROM scratch
COPY --from=builder /controller-tools/envtest /controller-tools/envtest

0 comments on commit 792cb59

Please sign in to comment.