Skip to content

Commit

Permalink
Update Azure Linux 3.0 documentation (#5915)
Browse files Browse the repository at this point in the history
  • Loading branch information
lbussell authored Sep 26, 2024
1 parent 3ebfe6e commit 98c9450
Showing 1 changed file with 21 additions and 5 deletions.
26 changes: 21 additions & 5 deletions documentation/azurelinux.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,21 @@ Azure Linux .NET images are [publicly supported](https://github.com/dotnet/dotne

## Featured Tags

.NET 9

* `9.0-azurelinux3.0`
* `docker pull mcr.microsoft.com/dotnet/sdk:9.0-azurelinux3.0`
* `docker pull mcr.microsoft.com/dotnet/aspnet:9.0-azurelinux3.0`
* `docker pull mcr.microsoft.com/dotnet/runtime:9.0-azurelinux3.0`
* `docker pull mcr.microsoft.com/dotnet/runtime-deps:9.0-azurelinux3.0`

.NET 8

* `8.0-azurelinux3.0`
* `docker pull mcr.microsoft.com/dotnet/sdk:8.0-azurelinux3.0`
* `docker pull mcr.microsoft.com/dotnet/aspnet:8.0-azurelinux3.0`
* `docker pull mcr.microsoft.com/dotnet/runtime:8.0-azurelinux3.0`
* `docker pull mcr.microsoft.com/dotnet/runtime-deps:8.0-azurelinux3.0`
* `8.0-cbl-mariner2.0`
* `docker pull mcr.microsoft.com/dotnet/sdk:8.0-cbl-mariner2.0`
* `docker pull mcr.microsoft.com/dotnet/aspnet:8.0-cbl-mariner2.0`
Expand All @@ -24,19 +39,20 @@ Azure Linux distroless .NET images are available for all supported .NET versions

You can use the following image tags:

* `9.0-azurelinux3.0-distroless`
* `8.0-azurelinux3.0-distroless`
* `8.0-cbl-mariner2.0-distroless`
* `6.0-cbl-mariner2.0-distroless`

### Installing Additional Packages

If your app requires additional packages besides `icu` and `tzdata`, you can follow the same pattern that .NET uses to install the .NET runtime dependencies.

#### Azure Linux 3.0 (Preview)
#### Azure Linux 3.0

```Dockerfile
FROM mcr.microsoft.com/dotnet/nightly/aspnet:8.0-azurelinux3.0-distroless AS base
FROM mcr.microsoft.com/dotnet/nightly/aspnet:9.0-azurelinux3.0-distroless AS base

FROM azurelinuxpreview.azurecr.io/public/azurelinux/base/core:3.0 AS installer
FROM mcr.microsoft.com/azurelinux/base/core:3.0 AS installer

RUN tdnf install -y fdupes \
&& tdnf clean all
Expand Down Expand Up @@ -85,7 +101,7 @@ COPY --from=installer /staging2/ /
#### Azure Linux 2.0

```Dockerfile
FROM mcr.microsoft.com/dotnet/aspnet:6.0-cbl-mariner2.0-distroless AS base
FROM mcr.microsoft.com/dotnet/aspnet:8.0-cbl-mariner2.0-distroless AS base

FROM mcr.microsoft.com/cbl-mariner/base/core:2.0 AS installer

Expand Down

0 comments on commit 98c9450

Please sign in to comment.