Skip to content

Commit

Permalink
Add CBL Mariner/Azure Linux extra images for .NET Runtime and ASP.N…
Browse files Browse the repository at this point in the history
…ET Core (dotnet#5262)
  • Loading branch information
lbussell committed Apr 8, 2024
1 parent 6fb829d commit f18313c
Show file tree
Hide file tree
Showing 13 changed files with 394 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.aspnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ Tags | Dockerfile | OS Version
8.0.3-jammy-chiseled-composite-extra-amd64, 8.0-jammy-chiseled-composite-extra-amd64, 8.0.3-jammy-chiseled-composite-extra, 8.0-jammy-chiseled-composite-extra | [Dockerfile](https://github.com/dotnet/dotnet-docker/blob/main/src/aspnet/8.0/jammy-chiseled-composite-extra/amd64/Dockerfile) | Ubuntu 22.04
8.0.3-cbl-mariner2.0-amd64, 8.0-cbl-mariner2.0-amd64, 8.0-cbl-mariner-amd64, 8.0.3-cbl-mariner2.0, 8.0-cbl-mariner2.0, 8.0-cbl-mariner | [Dockerfile](https://github.com/dotnet/dotnet-docker/blob/main/src/aspnet/8.0/cbl-mariner2.0/amd64/Dockerfile) | CBL-Mariner 2.0
8.0.3-cbl-mariner2.0-distroless-amd64, 8.0-cbl-mariner2.0-distroless-amd64, 8.0-cbl-mariner-distroless-amd64, 8.0.3-cbl-mariner2.0-distroless, 8.0-cbl-mariner2.0-distroless, 8.0-cbl-mariner-distroless | [Dockerfile](https://github.com/dotnet/dotnet-docker/blob/main/src/aspnet/8.0/cbl-mariner2.0-distroless/amd64/Dockerfile) | CBL-Mariner 2.0-distroless
8.0.3-cbl-mariner2.0-distroless-extra-amd64, 8.0-cbl-mariner2.0-distroless-extra-amd64, 8.0.3-cbl-mariner2.0-distroless-extra, 8.0-cbl-mariner2.0-distroless-extra | [Dockerfile](https://github.com/dotnet/dotnet-docker/blob/main/src/aspnet/8.0/cbl-mariner2.0-distroless-extra/amd64/Dockerfile) | CBL-Mariner 2.0-distroless
8.0.3-cbl-mariner2.0-distroless-composite-amd64, 8.0-cbl-mariner2.0-distroless-composite-amd64, 8.0-cbl-mariner-distroless-composite-amd64, 8.0.3-cbl-mariner2.0-distroless-composite, 8.0-cbl-mariner2.0-distroless-composite, 8.0-cbl-mariner-distroless-composite | [Dockerfile](https://github.com/dotnet/dotnet-docker/blob/main/src/aspnet/8.0/cbl-mariner2.0-distroless-composite/amd64/Dockerfile) | CBL-Mariner 2.0-distroless
8.0.3-cbl-mariner2.0-distroless-composite-extra-amd64, 8.0-cbl-mariner2.0-distroless-composite-extra-amd64, 8.0-cbl-mariner-distroless-composite-extra-amd64, 8.0.3-cbl-mariner2.0-distroless-composite-extra, 8.0-cbl-mariner2.0-distroless-composite-extra, 8.0-cbl-mariner-distroless-composite-extra | [Dockerfile](https://github.com/dotnet/dotnet-docker/blob/main/src/aspnet/8.0/cbl-mariner2.0-distroless-composite-extra/amd64/Dockerfile) | CBL-Mariner 2.0-distroless
7.0.17-bookworm-slim-amd64, 7.0-bookworm-slim-amd64, 7.0.17-bookworm-slim, 7.0-bookworm-slim | [Dockerfile](https://github.com/dotnet/dotnet-docker/blob/main/src/aspnet/7.0/bookworm-slim/amd64/Dockerfile) | Debian 12
7.0.17-bullseye-slim-amd64, 7.0-bullseye-slim-amd64, 7.0.17-bullseye-slim, 7.0-bullseye-slim, 7.0.17, 7.0 | [Dockerfile](https://github.com/dotnet/dotnet-docker/blob/main/src/aspnet/7.0/bullseye-slim/amd64/Dockerfile) | Debian 11
7.0.17-alpine3.18-amd64, 7.0-alpine3.18-amd64, 7.0-alpine-amd64, 7.0.17-alpine3.18, 7.0-alpine3.18 | [Dockerfile](https://github.com/dotnet/dotnet-docker/blob/main/src/aspnet/7.0/alpine3.18/amd64/Dockerfile) | Alpine 3.18
Expand Down Expand Up @@ -135,7 +137,9 @@ Tags | Dockerfile | OS Version
8.0.3-jammy-chiseled-composite-extra-arm64v8, 8.0-jammy-chiseled-composite-extra-arm64v8, 8.0.3-jammy-chiseled-composite-extra, 8.0-jammy-chiseled-composite-extra | [Dockerfile](https://github.com/dotnet/dotnet-docker/blob/main/src/aspnet/8.0/jammy-chiseled-composite-extra/arm64v8/Dockerfile) | Ubuntu 22.04
8.0.3-cbl-mariner2.0-arm64v8, 8.0-cbl-mariner2.0-arm64v8, 8.0-cbl-mariner-arm64v8, 8.0.3-cbl-mariner2.0, 8.0-cbl-mariner2.0, 8.0-cbl-mariner | [Dockerfile](https://github.com/dotnet/dotnet-docker/blob/main/src/aspnet/8.0/cbl-mariner2.0/arm64v8/Dockerfile) | CBL-Mariner 2.0
8.0.3-cbl-mariner2.0-distroless-arm64v8, 8.0-cbl-mariner2.0-distroless-arm64v8, 8.0-cbl-mariner-distroless-arm64v8, 8.0.3-cbl-mariner2.0-distroless, 8.0-cbl-mariner2.0-distroless, 8.0-cbl-mariner-distroless | [Dockerfile](https://github.com/dotnet/dotnet-docker/blob/main/src/aspnet/8.0/cbl-mariner2.0-distroless/arm64v8/Dockerfile) | CBL-Mariner 2.0-distroless
8.0.3-cbl-mariner2.0-distroless-extra-arm64v8, 8.0-cbl-mariner2.0-distroless-extra-arm64v8, 8.0.3-cbl-mariner2.0-distroless-extra, 8.0-cbl-mariner2.0-distroless-extra | [Dockerfile](https://github.com/dotnet/dotnet-docker/blob/main/src/aspnet/8.0/cbl-mariner2.0-distroless-extra/arm64v8/Dockerfile) | CBL-Mariner 2.0-distroless
8.0.3-cbl-mariner2.0-distroless-composite-arm64v8, 8.0-cbl-mariner2.0-distroless-composite-arm64v8, 8.0-cbl-mariner-distroless-composite-arm64v8, 8.0.3-cbl-mariner2.0-distroless-composite, 8.0-cbl-mariner2.0-distroless-composite, 8.0-cbl-mariner-distroless-composite | [Dockerfile](https://github.com/dotnet/dotnet-docker/blob/main/src/aspnet/8.0/cbl-mariner2.0-distroless-composite/arm64v8/Dockerfile) | CBL-Mariner 2.0-distroless
8.0.3-cbl-mariner2.0-distroless-composite-extra-arm64v8, 8.0-cbl-mariner2.0-distroless-composite-extra-arm64v8, 8.0-cbl-mariner-distroless-composite-extra-arm64v8, 8.0.3-cbl-mariner2.0-distroless-composite-extra, 8.0-cbl-mariner2.0-distroless-composite-extra, 8.0-cbl-mariner-distroless-composite-extra | [Dockerfile](https://github.com/dotnet/dotnet-docker/blob/main/src/aspnet/8.0/cbl-mariner2.0-distroless-composite-extra/arm64v8/Dockerfile) | CBL-Mariner 2.0-distroless
7.0.17-bookworm-slim-arm64v8, 7.0-bookworm-slim-arm64v8, 7.0.17-bookworm-slim, 7.0-bookworm-slim | [Dockerfile](https://github.com/dotnet/dotnet-docker/blob/main/src/aspnet/7.0/bookworm-slim/arm64v8/Dockerfile) | Debian 12
7.0.17-bullseye-slim-arm64v8, 7.0-bullseye-slim-arm64v8, 7.0.17-bullseye-slim, 7.0-bullseye-slim, 7.0.17, 7.0 | [Dockerfile](https://github.com/dotnet/dotnet-docker/blob/main/src/aspnet/7.0/bullseye-slim/arm64v8/Dockerfile) | Debian 11
7.0.17-alpine3.18-arm64v8, 7.0-alpine3.18-arm64v8, 7.0-alpine-arm64v8, 7.0.17-alpine3.18, 7.0-alpine3.18 | [Dockerfile](https://github.com/dotnet/dotnet-docker/blob/main/src/aspnet/7.0/alpine3.18/arm64v8/Dockerfile) | Alpine 3.18
Expand Down
2 changes: 2 additions & 0 deletions README.runtime.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ Tags | Dockerfile | OS Version
8.0.3-jammy-chiseled-extra-amd64, 8.0-jammy-chiseled-extra-amd64, 8.0.3-jammy-chiseled-extra, 8.0-jammy-chiseled-extra | [Dockerfile](https://github.com/dotnet/dotnet-docker/blob/main/src/runtime/8.0/jammy-chiseled-extra/amd64/Dockerfile) | Ubuntu 22.04
8.0.3-cbl-mariner2.0-amd64, 8.0-cbl-mariner2.0-amd64, 8.0-cbl-mariner-amd64, 8.0.3-cbl-mariner2.0, 8.0-cbl-mariner2.0, 8.0-cbl-mariner | [Dockerfile](https://github.com/dotnet/dotnet-docker/blob/main/src/runtime/8.0/cbl-mariner2.0/amd64/Dockerfile) | CBL-Mariner 2.0
8.0.3-cbl-mariner2.0-distroless-amd64, 8.0-cbl-mariner2.0-distroless-amd64, 8.0-cbl-mariner-distroless-amd64, 8.0.3-cbl-mariner2.0-distroless, 8.0-cbl-mariner2.0-distroless, 8.0-cbl-mariner-distroless | [Dockerfile](https://github.com/dotnet/dotnet-docker/blob/main/src/runtime/8.0/cbl-mariner2.0-distroless/amd64/Dockerfile) | CBL-Mariner 2.0-distroless
8.0.3-cbl-mariner2.0-distroless-extra-amd64, 8.0-cbl-mariner2.0-distroless-extra-amd64, 8.0.3-cbl-mariner2.0-distroless-extra, 8.0-cbl-mariner2.0-distroless-extra | [Dockerfile](https://github.com/dotnet/dotnet-docker/blob/main/src/runtime/8.0/cbl-mariner2.0-distroless-extra/amd64/Dockerfile) | CBL-Mariner 2.0-distroless
7.0.17-bookworm-slim-amd64, 7.0-bookworm-slim-amd64, 7.0.17-bookworm-slim, 7.0-bookworm-slim | [Dockerfile](https://github.com/dotnet/dotnet-docker/blob/main/src/runtime/7.0/bookworm-slim/amd64/Dockerfile) | Debian 12
7.0.17-bullseye-slim-amd64, 7.0-bullseye-slim-amd64, 7.0.17-bullseye-slim, 7.0-bullseye-slim, 7.0.17, 7.0 | [Dockerfile](https://github.com/dotnet/dotnet-docker/blob/main/src/runtime/7.0/bullseye-slim/amd64/Dockerfile) | Debian 11
7.0.17-alpine3.18-amd64, 7.0-alpine3.18-amd64, 7.0-alpine-amd64, 7.0.17-alpine3.18, 7.0-alpine3.18 | [Dockerfile](https://github.com/dotnet/dotnet-docker/blob/main/src/runtime/7.0/alpine3.18/amd64/Dockerfile) | Alpine 3.18
Expand Down Expand Up @@ -111,6 +112,7 @@ Tags | Dockerfile | OS Version
8.0.3-jammy-chiseled-extra-arm64v8, 8.0-jammy-chiseled-extra-arm64v8, 8.0.3-jammy-chiseled-extra, 8.0-jammy-chiseled-extra | [Dockerfile](https://github.com/dotnet/dotnet-docker/blob/main/src/runtime/8.0/jammy-chiseled-extra/arm64v8/Dockerfile) | Ubuntu 22.04
8.0.3-cbl-mariner2.0-arm64v8, 8.0-cbl-mariner2.0-arm64v8, 8.0-cbl-mariner-arm64v8, 8.0.3-cbl-mariner2.0, 8.0-cbl-mariner2.0, 8.0-cbl-mariner | [Dockerfile](https://github.com/dotnet/dotnet-docker/blob/main/src/runtime/8.0/cbl-mariner2.0/arm64v8/Dockerfile) | CBL-Mariner 2.0
8.0.3-cbl-mariner2.0-distroless-arm64v8, 8.0-cbl-mariner2.0-distroless-arm64v8, 8.0-cbl-mariner-distroless-arm64v8, 8.0.3-cbl-mariner2.0-distroless, 8.0-cbl-mariner2.0-distroless, 8.0-cbl-mariner-distroless | [Dockerfile](https://github.com/dotnet/dotnet-docker/blob/main/src/runtime/8.0/cbl-mariner2.0-distroless/arm64v8/Dockerfile) | CBL-Mariner 2.0-distroless
8.0.3-cbl-mariner2.0-distroless-extra-arm64v8, 8.0-cbl-mariner2.0-distroless-extra-arm64v8, 8.0.3-cbl-mariner2.0-distroless-extra, 8.0-cbl-mariner2.0-distroless-extra | [Dockerfile](https://github.com/dotnet/dotnet-docker/blob/main/src/runtime/8.0/cbl-mariner2.0-distroless-extra/arm64v8/Dockerfile) | CBL-Mariner 2.0-distroless
7.0.17-bookworm-slim-arm64v8, 7.0-bookworm-slim-arm64v8, 7.0.17-bookworm-slim, 7.0-bookworm-slim | [Dockerfile](https://github.com/dotnet/dotnet-docker/blob/main/src/runtime/7.0/bookworm-slim/arm64v8/Dockerfile) | Debian 12
7.0.17-bullseye-slim-arm64v8, 7.0-bullseye-slim-arm64v8, 7.0.17-bullseye-slim, 7.0-bullseye-slim, 7.0.17, 7.0 | [Dockerfile](https://github.com/dotnet/dotnet-docker/blob/main/src/runtime/7.0/bullseye-slim/arm64v8/Dockerfile) | Debian 11
7.0.17-alpine3.18-arm64v8, 7.0-alpine3.18-arm64v8, 7.0-alpine-arm64v8, 7.0.17-alpine3.18, 7.0-alpine3.18 | [Dockerfile](https://github.com/dotnet/dotnet-docker/blob/main/src/runtime/7.0/alpine3.18/arm64v8/Dockerfile) | Alpine 3.18
Expand Down
4 changes: 4 additions & 0 deletions eng/mcr-tags-metadata-templates/aspnet-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ $(McrTagsYmlTagGroup:8.0-jammy-chiseled-composite-amd64)
$(McrTagsYmlTagGroup:8.0-jammy-chiseled-composite-extra-amd64)
$(McrTagsYmlTagGroup:8.0-cbl-mariner2.0-amd64)
$(McrTagsYmlTagGroup:8.0-cbl-mariner2.0-distroless-amd64)
$(McrTagsYmlTagGroup:8.0-cbl-mariner2.0-distroless-extra-amd64)
$(McrTagsYmlTagGroup:8.0-cbl-mariner2.0-distroless-composite-amd64)
$(McrTagsYmlTagGroup:8.0-cbl-mariner2.0-distroless-composite-extra-amd64)
$(McrTagsYmlTagGroup:7.0-bookworm-slim-amd64)
$(McrTagsYmlTagGroup:7.0-bullseye-slim-amd64)
$(McrTagsYmlTagGroup:7.0-alpine3.18-amd64)
Expand Down Expand Up @@ -87,7 +89,9 @@ $(McrTagsYmlTagGroup:8.0-jammy-chiseled-composite-arm64v8)
$(McrTagsYmlTagGroup:8.0-jammy-chiseled-composite-extra-arm64v8)
$(McrTagsYmlTagGroup:8.0-cbl-mariner2.0-arm64v8)
$(McrTagsYmlTagGroup:8.0-cbl-mariner2.0-distroless-arm64v8)
$(McrTagsYmlTagGroup:8.0-cbl-mariner2.0-distroless-extra-arm64v8)
$(McrTagsYmlTagGroup:8.0-cbl-mariner2.0-distroless-composite-arm64v8)
$(McrTagsYmlTagGroup:8.0-cbl-mariner2.0-distroless-composite-extra-arm64v8)
$(McrTagsYmlTagGroup:7.0-bookworm-slim-arm64v8)
$(McrTagsYmlTagGroup:7.0-bullseye-slim-arm64v8)
$(McrTagsYmlTagGroup:7.0-alpine3.18-arm64v8)
Expand Down
2 changes: 2 additions & 0 deletions eng/mcr-tags-metadata-templates/runtime-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ $(McrTagsYmlTagGroup:8.0-jammy-chiseled-amd64)
$(McrTagsYmlTagGroup:8.0-jammy-chiseled-extra-amd64)
$(McrTagsYmlTagGroup:8.0-cbl-mariner2.0-amd64)
$(McrTagsYmlTagGroup:8.0-cbl-mariner2.0-distroless-amd64)
$(McrTagsYmlTagGroup:8.0-cbl-mariner2.0-distroless-extra-amd64)
$(McrTagsYmlTagGroup:7.0-bookworm-slim-amd64)
$(McrTagsYmlTagGroup:7.0-bullseye-slim-amd64)
$(McrTagsYmlTagGroup:7.0-alpine3.18-amd64)
Expand Down Expand Up @@ -62,6 +63,7 @@ $(McrTagsYmlTagGroup:8.0-jammy-chiseled-arm64v8)
$(McrTagsYmlTagGroup:8.0-jammy-chiseled-extra-arm64v8)
$(McrTagsYmlTagGroup:8.0-cbl-mariner2.0-arm64v8)
$(McrTagsYmlTagGroup:8.0-cbl-mariner2.0-distroless-arm64v8)
$(McrTagsYmlTagGroup:8.0-cbl-mariner2.0-distroless-extra-arm64v8)
$(McrTagsYmlTagGroup:7.0-bookworm-slim-arm64v8)
$(McrTagsYmlTagGroup:7.0-bullseye-slim-arm64v8)
$(McrTagsYmlTagGroup:7.0-alpine3.18-arm64v8)
Expand Down
168 changes: 168 additions & 0 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3897,6 +3897,61 @@
}
]
},
{
"productVersion": "$(dotnet|8.0|product-version)",
"sharedTags": {
"$(dotnet|8.0|product-version)-cbl-mariner2.0-distroless-extra": {},
"8.0-cbl-mariner2.0-distroless-extra": {}
},
"platforms": [
{
"buildArgs": {
"REPO": "$(Repo:runtime-deps)"
},
"dockerfile": "src/runtime/8.0/cbl-mariner2.0-distroless-extra/amd64",
"dockerfileTemplate": "eng/dockerfile-templates/runtime/Dockerfile.linux.extra",
"os": "linux",
"osVersion": "cbl-mariner2.0-distroless",
"tags": {
"$(dotnet|8.0|product-version)-cbl-mariner2.0-distroless-extra-amd64": {},
"8.0-cbl-mariner2.0-distroless-extra-amd64": {}
},
"customBuildLegGroups": [
{
"name": "pr-build",
"type": "Supplemental",
"dependencies": [
"$(Repo:sdk):8.0-cbl-mariner2.0-amd64"
]
}
]
},
{
"architecture": "arm64",
"buildArgs": {
"REPO": "$(Repo:runtime-deps)"
},
"dockerfile": "src/runtime/8.0/cbl-mariner2.0-distroless-extra/arm64v8",
"dockerfileTemplate": "eng/dockerfile-templates/runtime/Dockerfile.linux.extra",
"os": "linux",
"osVersion": "cbl-mariner2.0-distroless",
"tags": {
"$(dotnet|8.0|product-version)-cbl-mariner2.0-distroless-extra-arm64v8": {},
"8.0-cbl-mariner2.0-distroless-extra-arm64v8": {}
},
"variant": "v8",
"customBuildLegGroups": [
{
"name": "pr-build",
"type": "Supplemental",
"dependencies": [
"$(Repo:sdk):8.0-cbl-mariner2.0-arm64v8"
]
}
]
}
]
},
{
"productVersion": "$(dotnet|8.0|product-version)",
"platforms": [
Expand Down Expand Up @@ -6538,6 +6593,61 @@
}
]
},
{
"productVersion": "$(dotnet|8.0|product-version)",
"sharedTags": {
"$(dotnet|8.0|product-version)-cbl-mariner2.0-distroless-extra": {},
"8.0-cbl-mariner2.0-distroless-extra": {}
},
"platforms": [
{
"buildArgs": {
"REPO": "$(Repo:runtime)"
},
"dockerfile": "src/aspnet/8.0/cbl-mariner2.0-distroless-extra/amd64",
"dockerfileTemplate": "eng/dockerfile-templates/aspnet/Dockerfile.linux.extra",
"os": "linux",
"osVersion": "cbl-mariner2.0-distroless",
"tags": {
"$(dotnet|8.0|product-version)-cbl-mariner2.0-distroless-extra-amd64": {},
"8.0-cbl-mariner2.0-distroless-extra-amd64": {}
},
"customBuildLegGroups": [
{
"name": "pr-build",
"type": "Supplemental",
"dependencies": [
"$(Repo:sdk):8.0-cbl-mariner2.0-amd64"
]
}
]
},
{
"architecture": "arm64",
"buildArgs": {
"REPO": "$(Repo:runtime)"
},
"dockerfile": "src/aspnet/8.0/cbl-mariner2.0-distroless-extra/arm64v8",
"dockerfileTemplate": "eng/dockerfile-templates/aspnet/Dockerfile.linux.extra",
"os": "linux",
"osVersion": "cbl-mariner2.0-distroless",
"tags": {
"$(dotnet|8.0|product-version)-cbl-mariner2.0-distroless-extra-arm64v8": {},
"8.0-cbl-mariner2.0-distroless-extra-arm64v8": {}
},
"variant": "v8",
"customBuildLegGroups": [
{
"name": "pr-build",
"type": "Supplemental",
"dependencies": [
"$(Repo:sdk):8.0-cbl-mariner2.0-arm64v8"
]
}
]
}
]
},
{
"productVersion": "$(dotnet|8.0|product-version)",
"sharedTags": {
Expand Down Expand Up @@ -6596,6 +6706,64 @@
}
]
},
{
"productVersion": "$(dotnet|8.0|product-version)",
"sharedTags": {
"$(dotnet|8.0|product-version)-cbl-mariner2.0-distroless-composite-extra": {},
"8.0-cbl-mariner2.0-distroless-composite-extra": {},
"8.0-cbl-mariner-distroless-composite-extra": {}
},
"platforms": [
{
"buildArgs": {
"REPO": "$(Repo:runtime-deps)"
},
"dockerfile": "src/aspnet/8.0/cbl-mariner2.0-distroless-composite-extra/amd64",
"dockerfileTemplate": "eng/dockerfile-templates/aspnet/Dockerfile.linux-composite.extra",
"os": "linux",
"osVersion": "cbl-mariner2.0-distroless",
"tags": {
"$(dotnet|8.0|product-version)-cbl-mariner2.0-distroless-composite-extra-amd64": {},
"8.0-cbl-mariner2.0-distroless-composite-extra-amd64": {},
"8.0-cbl-mariner-distroless-composite-extra-amd64": {}
},
"customBuildLegGroups": [
{
"name": "pr-build",
"type": "Supplemental",
"dependencies": [
"$(Repo:sdk):8.0-cbl-mariner2.0-amd64"
]
}
]
},
{
"architecture": "arm64",
"buildArgs": {
"REPO": "$(Repo:runtime-deps)"
},
"dockerfile": "src/aspnet/8.0/cbl-mariner2.0-distroless-composite-extra/arm64v8",
"dockerfileTemplate": "eng/dockerfile-templates/aspnet/Dockerfile.linux-composite.extra",
"os": "linux",
"osVersion": "cbl-mariner2.0-distroless",
"tags": {
"$(dotnet|8.0|product-version)-cbl-mariner2.0-distroless-composite-extra-arm64v8": {},
"8.0-cbl-mariner2.0-distroless-composite-extra-arm64v8": {},
"8.0-cbl-mariner-distroless-composite-extra-arm64v8": {}
},
"variant": "v8",
"customBuildLegGroups": [
{
"name": "pr-build",
"type": "Supplemental",
"dependencies": [
"$(Repo:sdk):8.0-cbl-mariner2.0-arm64v8"
]
}
]
}
]
},
{
"productVersion": "$(dotnet|8.0|product-version)",
"platforms": [
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
ARG REPO=mcr.microsoft.com/dotnet/runtime-deps

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

RUN tdnf install -y \
ca-certificates \
gzip \
tar \
&& tdnf clean all

# Retrieve ASP.NET Composite Runtime
RUN aspnetcore_version=8.0.3 \
&& curl -fSL --output dotnet.tar.gz https://dotnetcli.azureedge.net/dotnet/aspnetcore/Runtime/$aspnetcore_version/aspnetcore-runtime-composite-$aspnetcore_version-linux-x64.tar.gz \
&& dotnet_sha512='d80104dc94afd909d424718702bdabf6d575cd24c4b6f68b83d55f6727c1c06ce5ca40a22bd7f3e7172dbea4ecaf501e44823db25cd8bc55e86768a854bd7b1a' \
&& echo "$dotnet_sha512 dotnet.tar.gz" | sha512sum -c - \
&& mkdir -p /usr/share/dotnet \
&& tar -oxzf dotnet.tar.gz -C /usr/share/dotnet \
&& rm dotnet.tar.gz

RUN mkdir /dotnet-symlink \
&& ln -s /usr/share/dotnet/dotnet /dotnet-symlink/dotnet


# ASP.NET Composite Image
FROM $REPO:8.0.3-cbl-mariner2.0-distroless-extra-amd64

ENV \
# .NET Runtime version
DOTNET_VERSION=8.0.3 \
# ASP.NET Core version
ASPNET_VERSION=8.0.3

COPY --from=installer ["/usr/share/dotnet", "/usr/share/dotnet"]
COPY --from=installer ["/dotnet-symlink", "/usr/bin"]

ENTRYPOINT ["/usr/bin/dotnet"]
CMD ["--info"]
Loading

0 comments on commit f18313c

Please sign in to comment.