Hi

I have a bunch of services (all sources in a single git project) which I 
want to dockerize and deploy in kubernetes (and run CI too preferably via 
minikube).

I have seen that it is possible to generate small docker images for golang 
HTTP servers by building them separately outside the Dockerfile that will 
be used for deployment, such 
as: 
http://samuraiprogrammer.net/blog/way-to-reduce-docker-image-size-with-tarball/

But the above approach of two Dockerfiles for each service, makes it very 
difficult to manage the sources. I wanted to know if there are any 
hacks/best-practices for reducing the docker image sizes for golang 
microservices but without creating two Dockerfiles for each service. Any 
help ?

Thanks.

Sankar

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to