3 ms·
I just downloaded the image it's based from "golang:1.10" according to the Dockerfile - https://github.com/ortuman/jackal/blob/master/Dockerfile https://github.
by mike-cardwell 8y ago
I just downloaded the image it's based from "golang:1.10" according to the Dockerfile - https://github.com/ortuman/jackal/blob/master/Dockerfile https://github.com/ortuman/jackal/blob/master/Dockerfile
mike@ung:~$ sudo docker image ls|grep golang
golang 1.10 6b369f7eed80 3 days ago 794MB
mike@ung:~$
794MB...
Should probably base it off an Alpine image instead. Would make it many times smaller.
[edit] In fact, there is a "golang:1.10-alpine" Docker image:
mike@ung:~$ sudo docker image ls|grep alpine
golang 1.10-alpine 05fe62871090 4 days ago 376MB
mike@ung:~$
Hmm. even that one is bigger than I expected.
- unfunco 8y agoFROM scratch ADD main / CMD ["/main"]