Skip to content

Updated Dockerfile to build slim image #1357

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

Closed
wants to merge 2 commits into from

Conversation

VEnis
Copy link

@VEnis VEnis commented Jan 16, 2018

Base image is now just debian slim.
Minimal required packages are installed.
Release is taken exactly from github releases (latest stable release used).
Size of the built image is just 222MB

VEnis and others added 2 commits January 17, 2018 01:02
Base image is now just debian slim. 
Minimal required packages are installed.
Release is taken exactly from github releases.
@JakeGinnivan
Copy link
Contributor

This will break the docker image publish:

Task("Publish-DockerImage")

@JakeGinnivan
Copy link
Contributor

The change itself looks good, if you can just change the source of the gitversion binary so release will still be automated

@arturcic
Copy link
Member

@VEnis This was implemented as part of this PR #1485. Can you have a look at dotnetcore and close this PR? The linux image is based on microsoft/dotnet:2.1-runtime, that is based on debian:stretch-slim.

@arturcic
Copy link
Member

arturcic commented Nov 9, 2018

Closing this as it was implemented in #1485

@arturcic arturcic closed this Nov 9, 2018
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