File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ FROM mcr.microsoft.com/dotnet/aspnet:${VERSION} AS base-builder
44
55# Create appuser.
66ENV USER=dotnet
7- ENV UID=245000
7+ ENV UID=45432
88# See https://stackoverflow.com/a/55757473/12429735RUN
99RUN adduser \
1010 --disabled-password \
@@ -45,7 +45,7 @@ RUN find / -xdev -perm -4000 -type f -exec chmod a-s {} \;
4545# Create runtime image
4646FROM scratch AS runtime-deps
4747ENV USER=dotnet
48- ENV UID=245000
48+ ENV UID=45432
4949ENV DOTNET_ROOT=/.dotnet
5050
5151ARG TARGETARCH
@@ -77,7 +77,7 @@ COPY --from=builder /usr/share/dotnet $DOTNET_ROOT
7777# Create runtime image
7878FROM scratch AS runtime-deps-globalization
7979ENV USER=dotnet
80- ENV UID=245000
80+ ENV UID=45432
8181ENV DOTNET_ROOT=/.dotnet
8282
8383ARG TARGETARCH
@@ -105,4 +105,4 @@ USER $UID:$UID
105105
106106# Create runtime image
107107FROM runtime-deps-globalization AS aspnet-globalization
108- COPY --from=globalization-builder /usr/share/dotnet $DOTNET_ROOT
108+ COPY --from=globalization-builder /usr/share/dotnet $DOTNET_ROOT
You can’t perform that action at this time.
0 commit comments