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

Switch to Azure Linux base image #722

Merged
merged 1 commit into from
Nov 25, 2024
Merged

Switch to Azure Linux base image #722

merged 1 commit into from
Nov 25, 2024

Conversation

DrizzlyOwl
Copy link
Collaborator

@DrizzlyOwl DrizzlyOwl commented Nov 15, 2024

  • Reduces the overall final image size by using Azure Linux
  • Offers maximum compatibility with Azure infrastructure
  • Uses arbitrary user instead of 'root'
  • Supported by Microsoft

https://github.com/dotnet/dotnet-docker/blob/main/documentation/azurelinux.md#azure-linux

Warning

Note: ASP.NET Core apps (in official images) listen to port 8080 by default⁠, starting with .NET 8. This is because it is using an arbitrary user. As a result we will need to update the Container App definition to list to Port 8080

@DrizzlyOwl DrizzlyOwl force-pushed the docker/azurelinux branch 8 times, most recently from 864d9bd to 36793c8 Compare November 15, 2024 14:00
@DrizzlyOwl DrizzlyOwl force-pushed the docker/azurelinux branch 3 times, most recently from c3a11e3 to 73d6d26 Compare November 15, 2024 16:39
* Reduces the overall final image size by using Azure Linux
* Offers maximum compatibility with Azure infrastructure
* Uses arbitrary user instead of 'root'
* Use the default Port 8080 non-privileged
@DrizzlyOwl DrizzlyOwl merged commit 2228ab6 into master Nov 25, 2024
2 checks passed
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.

2 participants