mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2024-11-25 12:04:58 +00:00
Update Dockerfile
This commit is contained in:
parent
84973906f2
commit
3ae5a341e7
@ -33,7 +33,7 @@ RUN buildDeps=" \
|
|||||||
xz \
|
xz \
|
||||||
"; \
|
"; \
|
||||||
set -x \
|
set -x \
|
||||||
&& apk add --update --virtual .build-deps $buildDeps \
|
&& apk add --update --virtual .build-deps $buildDeps \
|
||||||
&& export LIBTOR_VERSION=$(curl --silent "https://github.com/arvidn/libtorrent/tags" 2>&1 | grep -m 1 'libtorrent-' | sed -e 's~^[ \t]*~~;s~[ \t]*$~~' | sed -n 's/.*href="\([^"]*\).*/\1/p' | sed 's!.*/!!') \
|
&& export LIBTOR_VERSION=$(curl --silent "https://github.com/arvidn/libtorrent/tags" 2>&1 | grep -m 1 'libtorrent-' | sed -e 's~^[ \t]*~~;s~[ \t]*$~~' | sed -n 's/.*href="\([^"]*\).*/\1/p' | sed 's!.*/!!') \
|
||||||
&& export 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!.*/!!') \
|
&& export 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!.*/!!') \
|
||||||
&& curl -L "https://github.com/arvidn/libtorrent/archive/$LIBTOR_VERSION.tar.gz" -o libtor.tar.gz \
|
&& curl -L "https://github.com/arvidn/libtorrent/archive/$LIBTOR_VERSION.tar.gz" -o libtor.tar.gz \
|
||||||
@ -45,7 +45,7 @@ RUN buildDeps=" \
|
|||||||
&& rm libtor.tar.gz* \
|
&& rm libtor.tar.gz* \
|
||||||
&& rm qbittorrent.tar.gz* \
|
&& rm qbittorrent.tar.gz* \
|
||||||
&& cd /usr/src/libtorrent/ \
|
&& cd /usr/src/libtorrent/ \
|
||||||
&& ./b2 install
|
&& ./b2 install \
|
||||||
&& cd /usr/src/qbittorrent/ \
|
&& cd /usr/src/qbittorrent/ \
|
||||||
&& ./configure --disable-gui \
|
&& ./configure --disable-gui \
|
||||||
&& make -j$(nproc) \
|
&& make -j$(nproc) \
|
||||||
|
Loading…
Reference in New Issue
Block a user