News for hackers. Stuff that matters.
Re:Show HN: Jackal – XMPP server in Go by mike-cardwell on Tuesday May 08, 2018 @05:58PM (#17025614)
I just downloaded the image it's based from "golang:1.10" according to the 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.
Re:Show HN: Jackal – XMPP server in Go by unfunco on Tuesday May 08, 2018 @11:06PM (#17027166)

  FROM scratch   
  ADD main /  
  CMD ["/main"]