From fe98c8a2eb08c443a36e3cc7568078909e298433 Mon Sep 17 00:00:00 2001 From: Alex Goodman Date: Sat, 29 Mar 2025 10:39:11 -0400 Subject: [PATCH] use non-scratch docker image (#586) --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index f0792d0..8c347e2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,6 @@ RUN wget -O- https://download.docker.com/linux/static/stable/$(uname -m)/docker- COPY dive /usr/local/bin/ -FROM scratch -COPY --from=base /usr/local/bin /usr/local/bin - +# though we could make this a multi-stage image and copy the binary to scratch, this image is small enough +# and users are expecting to be able to exec into it ENTRYPOINT ["/usr/local/bin/dive"]