Use official download links
This commit is contained in:
parent
1385d27043
commit
8ad0754222
@ -122,12 +122,14 @@ RUN if [ "$MODULE" = "Tdarr_Node" ]; then \
|
||||
apt-get update && apt-get install -y curl unzip mkvtoolnix libtesseract-dev && \
|
||||
if uname -m | grep -q x86; then \
|
||||
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 && \
|
||||
|
||||
if [ "$MODULE" = "Tdarr_Server" ]; then \
|
||||
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 ; \
|
||||
fi ; \
|
||||
fi && \
|
||||
|
Reference in New Issue
Block a user