Use official download links

This commit is contained in:
RealStickman 2022-12-27 18:47:11 +01:00
parent 1385d27043
commit 8ad0754222

View File

@ -122,12 +122,14 @@ RUN if [ "$MODULE" = "Tdarr_Node" ]; then \
apt-get update && apt-get install -y curl unzip mkvtoolnix libtesseract-dev && \ apt-get update && apt-get install -y curl unzip mkvtoolnix libtesseract-dev && \
if uname -m | grep -q x86; then \ if uname -m | grep -q x86; then \
curl --connect-timeout 120 --retry 5 -o /tmp/$MODULE.zip -L \ curl --connect-timeout 120 --retry 5 -o /tmp/$MODULE.zip -L \
"https://tdarrs.s3.us-west-000.backblazeb2.com/versions/$VERSION/linux_x64/$MODULE.zip" && \ "https://f000.backblazeb2.com/file/tdarrs/versions/$VERSION/linux_x64/$MODULE.zip" && \
#"https://tdarrs.s3.us-west-000.backblazeb2.com/versions/$VERSION/linux_x64/$MODULE.zip" && \
unzip -q /tmp/$MODULE.zip -d /app/$MODULE -x *.exe && \ unzip -q /tmp/$MODULE.zip -d /app/$MODULE -x *.exe && \
if [ "$MODULE" = "Tdarr_Server" ]; then \ if [ "$MODULE" = "Tdarr_Server" ]; then \
curl --connect-timeout 120 --retry 5 -o /tmp/Tdarr_Node.zip -L \ curl --connect-timeout 120 --retry 5 -o /tmp/Tdarr_Node.zip -L \
"https://tdarrs.s3.us-west-000.backblazeb2.com/versions/$VERSION/linux_x64/Tdarr_Node.zip" && \ "https://f000.backblazeb2.com/file/tdarrs/versions/$VERSION/linux_x64/Tdarr_Node.zip" && \
#"https://tdarrs.s3.us-west-000.backblazeb2.com/versions/$VERSION/linux_x64/Tdarr_Node.zip" && \
unzip -q /tmp/Tdarr_Node.zip -d /app/Tdarr_Node -x *.exe ; \ unzip -q /tmp/Tdarr_Node.zip -d /app/Tdarr_Node -x *.exe ; \
fi ; \ fi ; \
fi && \ fi && \