Update Unified Dockerfile to .NET 8 (#208)

* Update Dockerfile image to .NET 8

* Update Dockerfile image to .NET 8
This commit is contained in:
Vince Grassia
2024-02-05 17:21:44 -05:00
committed by GitHub
parent 0d955881a6
commit d732cd5c76

View File

@@ -34,7 +34,7 @@ RUN VERSION=$(cat version.txt) \
###############################################
# Build stage #
###############################################
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:6.0 AS dotnet-build
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0 AS dotnet-build
# Docker buildx supplies the value for this arg
ARG TARGETPLATFORM
@@ -173,7 +173,7 @@ RUN . /tmp/rid.txt && dotnet publish -c release -o /app/Scim --no-restore --no-s
###############################################
# App stage #
###############################################
FROM mcr.microsoft.com/dotnet/aspnet:6.0
FROM mcr.microsoft.com/dotnet/aspnet:8.0
ARG TARGETPLATFORM
LABEL com.bitwarden.product="bitwarden"
LABEL com.bitwarden.project="unified"