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

Add Dockerfile for image using SCD #4

Open
philippgille opened this issue Jun 10, 2017 · 5 comments
Open

Add Dockerfile for image using SCD #4

philippgille opened this issue Jun 10, 2017 · 5 comments

Comments

@philippgille
Copy link
Owner

No description provided.

@philippgille
Copy link
Owner Author

philippgille commented Jul 14, 2017

You can probably just copy the current Dockerfile and just change the second (actual, non-builder) image a bit.

@philippgille
Copy link
Owner Author

Maybe the SCD works not only on microsoft/dotnet:1.1-runtime-deps, but on smaller images like Alpine as well? That would be an advantage for using the SCD in a Docker image.

See https://github.com/dotnet/core/blob/master/Documentation/prereqs.md for dependencies that are needed for running SCDs.

@philippgille
Copy link
Owner Author

Regarding Alpine, see dotnet/dotnet-docker#22

@philippgille
Copy link
Owner Author

Alpine seems to be a valid RID already, but not sure in which release or if fully supported or not: https://github.com/dotnet/corefx/blob/c6dbe361680efd21a20fdb8def01936b1031011c/pkg/Microsoft.NETCore.Platforms/runtime.json#L29

Also note: Even when an SCD in an Alpine image is small, the .NET Core runtime Alpine image is probably small as well. Check the difference to see if it's worth the effort.

@philippgille
Copy link
Owner Author

A .NET Core Alpine image is now available: https://www.hanselman.com/blog/TryingOutNewNETCoreAlpineDockerImages.aspx

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

No branches or pull requests

1 participant