use non-scratch docker image (#586)

This commit is contained in:
Alex Goodman 2025-03-29 10:39:11 -04:00 committed by GitHub
commit fe98c8a2eb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"]