add dotnet to fix recyclarr

pull/49/head
RandomNinjaAtk 2 years ago committed by GitHub
parent 2565803497
commit 49b787c154
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -45,6 +45,18 @@ RUN \
unzip -o /recyclarr/recyclarr.zip -d /recyclarr &>/dev/null && \
chmod 777 /recyclarr/recyclarr
# .NET Runtime version
ENV DOTNET_VERSION=7.0.0
# Install .NET Runtime
RUN wget -O dotnet.tar.gz https://dotnetcli.azureedge.net/dotnet/Runtime/$DOTNET_VERSION/dotnet-runtime-$DOTNET_VERSION-linux-musl-x64.tar.gz \
&& dotnet_sha512='f37774eee98f38d9849c79d05c58b0d9e733d480b31a0615a1039613662579efef392d0129b2582281861c0647bacdb3acd78213bd33869b698e529b8e78ccee' \
&& echo "$dotnet_sha512 dotnet.tar.gz" | sha512sum -c - \
&& mkdir -p /usr/share/dotnet \
&& tar -oxzf dotnet.tar.gz -C /usr/share/dotnet \
&& rm dotnet.tar.gz \
&& ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet
# copy local files
COPY root/ /

Loading…
Cancel
Save