yukinying / chrome-headless-browser-docker

Continuously building Chrome Docker image for Linux.
https://store.docker.com/community/images/yukinying/chrome-headless-browser/tags
Apache License 2.0
373 stars 53 forks source link

make smaller the image using docker multi-stage build #16

Closed hbakhtiyor closed 7 years ago

hbakhtiyor commented 7 years ago

hi, did you have any chance to try it?

yukinying commented 7 years ago

I think it is not related. My understanding is that if a container is used in building the binary and installing the binary as well, then the image size can be reduced by separating the process into two.

This repository does not build any binary. If it would, it would probably be done inside plain Travis CI environment rather than inside a container.

Ref: https://docs.docker.com/engine/userguide/eng-image/multistage-build/