Re:I Was Wrong about Nix
by infinisil on Monday February 10, 2020 @09:52PM
(#22295578)
They are using a Docker multi-stage build in the very Dockerfile they showed..
[ Parent
| on HN ]
Yes - but then their final stage is built on top of an Alpine container, and they complain about Alpine's package manager + OS files being included in the image.
If their final stage was based on scratch or distroless, the Docker file size would have come out to the minimal ~90MB result too.
Re:I Was Wrong about Nix
by _-___________-_ on Monday February 10, 2020 @10:58PM
(#22295917)
Yeah, I don't understand that part either. If you want to be able to shell into the container and poke around, use Alpine by all means, but then don't complain about a C runtime being included. If you want a minimal container for your static executable, use scratch.