Update docker image to .net 9
This commit is contained in:
parent
c0c99db6fa
commit
be52b496a6
@ -1,5 +1,5 @@
|
|||||||
# Dockerfile
|
# Dockerfile
|
||||||
FROM --platform=${BUILDPLATFORM} mcr.microsoft.com/dotnet/sdk:8.0 AS build
|
FROM --platform=${BUILDPLATFORM} mcr.microsoft.com/dotnet/sdk:9.0 AS build
|
||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
|
|
||||||
COPY Source /Source
|
COPY Source /Source
|
||||||
@ -10,7 +10,7 @@ RUN dotnet publish \
|
|||||||
--output /Source/bin/Publish/Linux-chardonnay \
|
--output /Source/bin/Publish/Linux-chardonnay \
|
||||||
-p:PublishProfile=/Source/LibationCli/Properties/PublishProfiles/LinuxProfile.pubxml
|
-p:PublishProfile=/Source/LibationCli/Properties/PublishProfiles/LinuxProfile.pubxml
|
||||||
|
|
||||||
FROM mcr.microsoft.com/dotnet/runtime:8.0
|
FROM mcr.microsoft.com/dotnet/runtime:9.0
|
||||||
ARG USER_UID=1001
|
ARG USER_UID=1001
|
||||||
ARG USER_GID=1001
|
ARG USER_GID=1001
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user