Re:Show HN: Jackal – XMPP server in Go
by Boulth on Tuesday May 08, 2018 @12:10PM
(#17022023)
With the caveat that it doesn't build the app inside container, so the multi stage build is kind of underutilized here.
[ Parent
| on HN ]
You almost certainly want to build the app inside a container, but probably not the same container that result from the build.
[ed: well maybe not for a simple go project, as go has great cross compilation support. But if there's a bit of Javascript/(s)css/static resource munging - a container with a predictable build environment might become appealing. ]
Isn't this the purpose of multi stage builds? To have one stage for building it and another, from scratch, to run it?