diff --git a/linux/Dockerfile b/linux/Dockerfile index 5377b80..ba9c53c 100644 --- a/linux/Dockerfile +++ b/linux/Dockerfile @@ -40,8 +40,7 @@ RUN apt-get update \ jq \ zip \ unzip \ - wget \ - dotnet-sdk-10.0 + wget # install tzdata and reconfigure RUN ln -snf /usr/share/zoneinfo/$(curl -f https://ipapi.co/timezone) /etc/localtime \ @@ -80,6 +79,14 @@ RUN ARCH="$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/)" \ && getent group docker || groupadd docker > /dev/null \ && usermod -aG docker runner +# install dotnet 10 SDK +RUN sudo apt-get update \ + && sudo apt-get install -y ca-certificates libc6 libgcc-s1 libgssapi-krb5-2 libssl3 libstdc++6 zlib1g \ + && curl -L https://dot.net/v1/dotnet-install.sh -o dotnet-install.sh \ + && chmod +x ./dotnet-install.sh \ + && ./dotnet-install.sh --version latest \ + && rm ./dotnet-install.sh + COPY --chmod=755 scripts/* / # switch to the runner user