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

-azurelinux3.0-distroless-aot #155

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# https://mcr.microsoft.com/v2/dotnet/sdk/tags/list
# https://mcr.microsoft.com/product/dotnet/nightly/sdk
# https://mcr.microsoft.com/v2/dotnet/nightly/sdk/tags/list
FROM mcr.microsoft.com/dotnet/nightly/sdk:9.0.100-rc.1-noble-aot AS builder
FROM mcr.microsoft.com/dotnet/nightly/sdk:9.0.100-rc.2-azurelinux3.0-aot AS builder
WORKDIR /app
COPY my-sample-app.csproj .
RUN dotnet restore my-sample-app.csproj \
Expand All @@ -21,7 +21,7 @@ RUN dotnet publish my-sample-app.csproj \
# https://mcr.microsoft.com/v2/dotnet/runtime-deps/tags/list
# https://mcr.microsoft.com/product/dotnet/nightly/runtime-deps
# https://mcr.microsoft.com/v2/dotnet/nightly/runtime-deps/tags/list
FROM mcr.microsoft.com/dotnet/nightly/runtime-deps:9.0.0-rc.1-noble-chiseled-aot
FROM mcr.microsoft.com/dotnet/nightly/runtime-deps:9.0.0-rc.2-azurelinux3.0-distroless-aot
WORKDIR /app
COPY --from=builder /my-sample-app .
EXPOSE 8080
Expand Down