Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker: from scratch image? #8

Closed
Arteneko opened this issue Jun 13, 2019 · 3 comments
Closed

docker: from scratch image? #8

Arteneko opened this issue Jun 13, 2019 · 3 comments

Comments

@Arteneko
Copy link

The current final image starts from alpine.

Wouldn't it work with a FROM scratch, thus greatly reducing the production image size?

@eko
Copy link
Owner

eko commented Jun 14, 2019

Hi @IvanDelsinne,

I just updated the Dockerfile and now building from scratch which decrease the image size from 17MB to 9.6MB.

Thank you

@eko eko closed this as completed Jun 14, 2019
@eko
Copy link
Owner

eko commented Jun 15, 2019

I also added upx compression so the latest image is now 2.39MB size!

@Arteneko
Copy link
Author

Arteneko commented Jun 15, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants