News for hackers. Stuff that matters.
Re:Show HN: Jackal – XMPP server in Go by eximius on Tuesday May 08, 2018 @04:33PM (#17024749)
Why is it even using Docker at all? One of the features of Go is that it is statically linked with it's dependencies!?
Re:Show HN: Jackal – XMPP server in Go by kiliankoe on Tuesday May 08, 2018 @06:51PM (#17026044)
Docker has a few more upsides than just bundling an app with its dependencies, orchestration being one of them. Also, a go app wouldn't have to be cross-compiled for whatever architecture as long as Docker runs there. Go makes that easy and effortless, sure, and there's nothing stopping you from doing so.
Re:Show HN: Jackal – XMPP server in Go by chatmasta on Thursday May 10, 2018 @03:48PM (#17042360)
Docker containers inherit the architecture of the host system. There is no CPU virtualization involved. So you still need to cross compile if you want to run the binary on another architecture, regardless of whether or not the binary is running inside a docker container.