docker multi-stage builds and small binary sizes

53 views
Skip to first unread message

Sankar

unread,
Apr 27, 2017, 12:12:16 PM4/27/17
to golang-nuts
Anyone aware of links explaining if-we-can/how-to create lean containers for golang http servers by using the new multi-stage build options in Docker ? Similar to: https://codefresh.io/blog/node_docker_multistage/ 

That would be very handy than doing GOOS=linux builds and then copying the binary in to a docker SCRATCH/Alpine container.

Thanks.
Reply all
Reply to author
Forward
0 new messages