We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7766b39 commit a03a86cCopy full SHA for a03a86c
src/GZCTF/Dockerfile
@@ -4,6 +4,13 @@ COPY publish /build
4
RUN cp -r /build/${TARGETPLATFORM} /publish
5
6
FROM mcr.microsoft.com/dotnet/aspnet:9.0-alpine AS final
7
+ARG TARGETPLATFORM
8
+RUN ARCH=$(echo ${TARGETPLATFORM} | cut -d'/' -f2) && \
9
+ wget https://github.com/hez2010/Satori/releases/latest/download/linux_musl_${ARCH}.zip && \
10
+ unzip linux_musl_${ARCH}.zip -d satori && \
11
+ chmod +x satori/* && \
12
+ mv satori/* /usr/share/dotnet/shared/Microsoft.NETCore.App/$(ls /usr/share/dotnet/shared/Microsoft.NETCore.App)/ && \
13
+ rm linux_musl_${ARCH}.zip && rm -rf satori
14
15
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false \
16
LC_ALL=en_US.UTF-8
0 commit comments