Skip to content

Commit a766159

Browse files
committed
Merge remote-tracking branch 'origin/renovate/patch-dependency-versions' into issue/OCC-351
2 parents 27e01af + 4838b7a commit a766159

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# TARGETARCH and TARGETOS are set automatically when --platform is provided.
2-
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env
2+
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0@sha256:8ab06772f296ed5f541350334f15d9e2ce84ad4b3ce70c90f2e43db2752c30f6 AS build-env
33
ARG TARGETOS
44
LABEL stage=build-env
55
WORKDIR /source
@@ -14,8 +14,8 @@ COPY Directory.Packages.props .
1414
RUN dotnet publish src/OrchardCore.Commerce.Web/OrchardCore.Commerce.Web.csproj -c Release -o /app --framework net8.0 /p:RunAnalyzers=false
1515

1616
# build runtime image
17-
FROM mcr.microsoft.com/dotnet/aspnet:8.0-nanoserver-1809 AS build_windows
18-
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS build_linux
17+
FROM mcr.microsoft.com/dotnet/aspnet:8.0-nanoserver-1809@sha256:3e02871ca45856ebfc43876a706952cdd755b795d0bc8790f317f192dd770843 AS build_windows
18+
FROM mcr.microsoft.com/dotnet/aspnet:8.0@sha256:6159cf66274cf52730d7a0c7bb05cf0af94b79370176886ac58286ab6cbb7faf AS build_linux
1919
FROM build_${TARGETOS} AS aspnet
2020

2121
EXPOSE 80

Dockerfile-CI

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# This Docker file is intended for the CI
22
# A prerequisite is a published application in the .build/release
3-
FROM --platform=$BUILDPLATFORM golang:alpine AS build
3+
FROM --platform=$BUILDPLATFORM golang:alpine@sha256:7772cb5322baa875edd74705556d08f0eeca7b9c4b5367754ce3f2f00041ccee AS build
44
ARG TARGETOS
55

6-
FROM mcr.microsoft.com/dotnet/aspnet:8.0-nanoserver-1809 AS build_windows
7-
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS build_linux
6+
FROM mcr.microsoft.com/dotnet/aspnet:8.0-nanoserver-1809@sha256:3e02871ca45856ebfc43876a706952cdd755b795d0bc8790f317f192dd770843 AS build_windows
7+
FROM mcr.microsoft.com/dotnet/aspnet:8.0@sha256:6159cf66274cf52730d7a0c7bb05cf0af94b79370176886ac58286ab6cbb7faf AS build_linux
88
FROM build_${TARGETOS} AS aspnet
99

1010
EXPOSE 80

0 commit comments

Comments
 (0)