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

Switch to alpine for the docker image #108

Closed
lmakarov opened this issue Aug 24, 2016 · 3 comments
Closed

Switch to alpine for the docker image #108

lmakarov opened this issue Aug 24, 2016 · 3 comments
Labels

Comments

@lmakarov
Copy link

Alpine based image is more than two times smaller than the standard (Debian based) one.
The resulting mailhog image size is 280.1 MB (using golang:1.7-alpine) vs 691.6 MB (using golang:1.7).

@AGhost-7
Copy link

AGhost-7 commented Sep 2, 2016

I think that size is less important in this case. If you're going to use this for testing, you're probably going to need to use it for debugging, and using something you're familiar with is a better choice. I think a lot of people are more familiar with Debian.

@ian-kent
Copy link
Member

ian-kent commented Sep 4, 2016

Thanks @lmakarov, and thanks for #109

Does the version provided by Rockerfile help? It's only 15 MB, and is the 'official' one hosted at Docker Hub

I think I'd be inclined to agree with @AGhost-7, but I won't be affected by it! Dockerfile is intended as a development resource, while the Rockerfile version provides something aimed more at deployment.

@ian-kent
Copy link
Member

I'll close this, I think it's been superseded by #118

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

No branches or pull requests

3 participants