Browse Source

Update Unified Dockerfile to .NET 8 (#208)

* Update Dockerfile image to .NET 8

* Update Dockerfile image to .NET 8
pull/209/head
Vince Grassia 2 years ago committed by GitHub
parent
commit
d732cd5c76
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      docker-unified/Dockerfile

4
docker-unified/Dockerfile

@ -34,7 +34,7 @@ RUN VERSION=$(cat version.txt) \ @@ -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 @@ -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"

Loading…
Cancel
Save