File tree Expand file tree Collapse file tree
AAS.TwinEngine.DataEngine
AAS.TwinEngine.Plugin.TestPlugin Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM mcr.microsoft.com/dotnet/sdk@sha256:dc8430e6024d454edadad1e160e1973be3cabbb7125998ef190d9e5c6adf7dbb AS build
1+ FROM mcr.microsoft.com/dotnet/sdk:10.0 @sha256:c0790639332692a0d56cdd81ed581cfd24d040d9839764c138994866df89a3b6 AS build
22# Install CycloneDX SBOM Generator Package
33RUN dotnet tool install --global CycloneDX --version 5.5.0
44ENV PATH="$PATH:/root/.dotnet/tools"
@@ -19,7 +19,7 @@ FROM scratch AS app-sbom-artifact
1919COPY --from=build /App/sbom/bom.xml /sbom_application.cyclonedx.xml
2020
2121# Create final image containing application
22- FROM mcr.microsoft.com/dotnet/aspnet@sha256:9b5222b0ff8e9eb991a7c1a64b25f0f771d21ccc05dfa1c834f5668ffd9cd73f
22+ FROM mcr.microsoft.com/dotnet/aspnet:10.0-alpine @sha256:1e37a8236c558ae31bd6bc8144e38e6036b73cf1b0616fe56d79e60babb9d93b
2323USER app
2424WORKDIR /App
2525COPY --from=build /App/out .
Original file line number Diff line number Diff line change 1- FROM mcr.microsoft.com/dotnet/sdk@sha256:dc8430e6024d454edadad1e160e1973be3cabbb7125998ef190d9e5c6adf7dbb AS build
1+ FROM mcr.microsoft.com/dotnet/sdk:10.0 @sha256:c0790639332692a0d56cdd81ed581cfd24d040d9839764c138994866df89a3b6 AS build
22ARG BUILD_CONFIGURATION=Release
33WORKDIR /App
44COPY ["AAS.TwinEngine.Plugin.TestPlugin/" , "AAS.TwinEngine.Plugin.TestPlugin/" ]
@@ -8,7 +8,7 @@ RUN dotnet publish "AAS.TwinEngine.Plugin.TestPlugin/AAS.TwinEngine.Plugin.TestP
88 -o out \
99 --no-restore
1010
11- FROM mcr.microsoft.com/dotnet/aspnet@sha256:9b5222b0ff8e9eb991a7c1a64b25f0f771d21ccc05dfa1c834f5668ffd9cd73f
11+ FROM mcr.microsoft.com/dotnet/aspnet:10.0-alpine @sha256:1e37a8236c558ae31bd6bc8144e38e6036b73cf1b0616fe56d79e60babb9d93b
1212WORKDIR /App
1313
1414ENV DATA_DIR=/App/Data
You can’t perform that action at this time.
0 commit comments