File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ RUN dotnet tool restore
99RUN dotnet restore
1010RUN dotnet publish --no-restore --configuration Release
1111
12- FROM mcr.microsoft.com/dotnet/aspnet:10.0-alpine3.23 @sha256:1201dde897ab436b7c6b386f6dbd4f9a3ca0245f9c5a8aac8f8bcdccb4c7d484
12+ FROM mcr.microsoft.com/dotnet/aspnet:10.0.8-noble-chiseled-extra-amd64 @sha256:d3552fc1bd9b5195f6a397a547975fa1dbfb21870b4710f929eaa9adc5ceee42
1313ARG GIT_SHA
1414WORKDIR /Apps
1515COPY --from=build /source/src/TeachingRecordSystem.Api/bin/Release/net10.0/publish/ ./Api/
@@ -18,20 +18,12 @@ COPY --from=build /source/src/TeachingRecordSystem.SupportUi/bin/Release/net10.0
1818COPY --from=build /source/src/TeachingRecordSystem.Worker/bin/Release/net10.0/publish/ ./Worker/
1919COPY --from=build /source/src/TeachingRecordSystem.AuthorizeAccess/bin/Release/net10.0/publish/ ./AuthorizeAccess/
2020
21- # Ensure culture data is available
22- RUN apk add --no-cache tzdata icu-data-full icu-libs
23- ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
24-
25- RUN apk --no-cache add postgresql17-client
26-
2721# Fix for invoking trscli
28- RUN apk --no-cache add libc6-compat
22+ # RUN apk --no-cache add libc6-compat
2923
3024ENV SENTRY_RELEASE=${GIT_SHA}
3125ENV GIT_SHA=${GIT_SHA}
3226ENV ASPNETCORE_HTTP_PORTS=3000
3327ENV PATH="${PATH}:/Apps/TrsCli"
3428
35- RUN addgroup -S appgroup -g 20001 && adduser -S appuser -G appgroup -u 10001
36-
37- USER 10001
29+ USER app
You can’t perform that action at this time.
0 commit comments