Skip to content

Commit

Permalink
.NET 8 RC 2
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieu-benoit authored Oct 11, 2023
1 parent 06c9189 commit 825cfb2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# https://mcr.microsoft.com/product/dotnet/sdk
FROM mcr.microsoft.com/dotnet/sdk:8.0.100-rc.1-alpine3.18-amd64@sha256:9079dc84e5e8582cedf569c33912d675165a779928453065e9b4b7363ed02089 as builder
# https://mcr.microsoft.com/v2/dotnet/sdk/tags/list
FROM mcr.microsoft.com/dotnet/sdk:8.0.100-rc.2-alpine3.18-amd64@sha256:301447fac4f5fb10f4479a192a8a07f75247880c40a42996a6e5087780f62aee as builder
RUN apk add clang build-base zlib-dev
WORKDIR /app
COPY my-sample-app.csproj .
Expand All @@ -16,7 +17,8 @@ RUN dotnet publish my-sample-app.csproj \
-p:TrimMode=full

# https://mcr.microsoft.com/product/dotnet/runtime-deps
FROM mcr.microsoft.com/dotnet/runtime-deps:8.0.0-rc.1-alpine3.18-amd64@sha256:417dd8282260a8229cbe36521ef61a63c16a689141f517419b48d8f8b2f2e684
# https://mcr.microsoft.com/v2/dotnet/runtime-deps/tags/list
FROM mcr.microsoft.com/dotnet/runtime-deps:8.0.0-rc.2-alpine3.18-amd64@sha256:9f17f8dd2e9502db8f5bc5252d5bfb7516f69a0e1fbc2a5892f2e1b87609fcbf
WORKDIR /app
COPY --from=builder /my-sample-app .
EXPOSE 8080
Expand Down

0 comments on commit 825cfb2

Please sign in to comment.