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

Use golang:1.7-alpine base image. Resolves #108 #109

Closed
wants to merge 1 commit into from
Closed

Use golang:1.7-alpine base image. Resolves #108 #109

wants to merge 1 commit into from

Conversation

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).

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).
@mwgamble
Copy link

mwgamble commented Sep 5, 2016

Instead of using the golang image as a base, and go geting mailhog in the dockerfile, why not just create a basic dockerfile based on the official alpine image, and use wget to download the binary from github?

@blueimp
Copy link
Contributor

blueimp commented Oct 16, 2016

I propose the Dockerfile in my pull request here, which optimises image size to just 18.93 MB, is compatible with Docker Hub Automated Builds and also fixes the "release message" feature.

@ian-kent
Copy link
Member

I'll close this since I've merged the one from @blueimp, but thanks all the same @lmakarov 😄

@ian-kent ian-kent closed this Nov 14, 2016
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

Successfully merging this pull request may close these issues.

4 participants