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

Support localization in sdk for Alpine 3.16 #3847

Merged
merged 4 commits into from Jun 16, 2022
Merged

Conversation

mthalman
Copy link
Member

Fixes #3844

This ensures that the icu-data-full package is included by default in the sdk image for Alpine 3.16.

To better catch when localization scenarios fail in the sdk image, I've added a test which will run dotnet test on a unit test project from within an sdk container. This is just a simple .cs file that we can add more test cases to as necessary.

@@ -18,7 +18,7 @@ ENV \
POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-DotnetCoreSDK-Alpine-3.16

# Add dependencies for disabling invariant mode (set in base image)
RUN apk add --no-cache icu-libs
RUN apk add --no-cache icu-data-full icu-libs
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit - the formatting here is not consistent. Multi-package installs should use separate lines. I would be fine with multi-lines being the standard even when a single package is installed.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

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

Successfully merging this pull request may close these issues.

Alpine 3.16 icu-libs now contains only en.
3 participants