Update Dockerfile

This commit is contained in:
MarkusMcNugen 2021-03-23 03:41:54 -04:00 committed by GitHub
parent 6b4ebcabf4
commit 7f6f486a50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ RUN make install
RUN QBIT_VERSION=$(curl --silent "https://github.com/qbittorrent/qBittorrent/tags" 2>&1 | grep -m 1 'release-' | sed -e 's~^[t]*~~;s~[t]*$~~' | sed -n 's/.*href="\([^"]*\).*/\1/p' | sed 's!.*/!!')
RUN curl -SL "https://github.com/qbittorrent/qBittorrent/archive/$QBIT_VERSION.tar.gz" -o qbittorrent.tar.gz
RUN mkdir -p /usr/src/qbittorrent
RUN tar -xzf qbittorrent.tar.gz -C /usr/src/qbittorrent --strip-components=1
RUN tar -xf qbittorrent.tar.gz -C /usr/src/qbittorrent --strip-components=1
RUN rm qbittorrent.tar.gz*
WORKDIR /usr/src/qbittorrent/src/app
RUN patch -i /tmp/patches/main.patch