Add dotnet to fix recyclarr

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

@ -1,4 +1,3 @@
FROM mcr.microsoft.com/dotnet/runtime:7.0-alpine
FROM linuxserver/sonarr:develop
LABEL maintainer="RandomNinjaAtk"
@ -46,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
WORKDIR /config
# copy local files

Loading…
Cancel
Save