Closed MichaelSimons closed 6 years ago
@janvorli - Can you point me to the issue tracking Alpine support for self-contained apps or should I log one? I would like to track it so that I can enable the unit tests for the runtime-deps image once support is in place. Thanks
@MichaelSimons there is none. I was first wondering what's the actual problem, but then I've remembered that @eerhardt has asked me to revert part of the core-setup change until we have the official corefx / coreclr builds and then I've completely forgotten about it. Let me create a PR for that missing piece right away.
@dotnet-bot test Debian - 1. Dockerfiles please
Linking to https://github.com/dotnet/core-setup/pull/3395 which will enable support for self-contained apps.
A decision was made to have the Alpine images make use of the Globalization Invariant Mode. The belief is the majority of Docker usage scenarios would prefer this mode. This eliminates the need for icu-lib which will reduce the runtime-deps image by 30.3 MB (also applies to the runtime image). Users can turn this option off and add the icu-lib package if needed.
The Globalization Invariant Mode changes are dependent on https://github.com/dotnet/coreclr/issues/14927. The Docker images need a way to enable the mode globally so that the out of box experience works since icu-lib will not be included.
When is this going to be live?
@ThatDeveloper - waiting on the https://github.com/dotnet/coreclr/issues/14927 to make it into Core-Setup and picked up by the CLI. The images won't be available in microsoft/dotnet until 2.1 is released.
@MichaelSimons - FYI that change should be in the latest core-setup build: Microsoft.NETCore.App 2.1.0-preview1-25919-02
.
@richlander - I think this is ready to merge. Are you good with that?
LGTM
We should post (after merge) on our call to action / ask for feedback. I'll talk to you about that.
Related to dotnet/dotnet-docker#22
Image size on disk (MB):
alpine:3.6 3.97 2.1-runtime-deps-alpine ~43.9~ 13.8 2.1-runtime-alpine ~112~ 82.5
Note: self-contained apps are not yet working e2e therefore the test case for the runtime-deps is disabled.
cc @janvorli, @Petermarcu