|
|
|
|
@ -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" |
|
|
|
|
|