From 827f1a76612a72f58ebbc47b34bb3d9424f11faf Mon Sep 17 00:00:00 2001 From: DyonR Date: Sun, 16 Aug 2020 15:28:00 +0200 Subject: [PATCH] qBittorrent Alpha branch --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 223a9dd..8a23904 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,18 +29,16 @@ RUN apt update \ qtbase5-dev \ qttools5-dev \ libqt5svg5-dev \ - && QBITTORRENT_RELEASE=$(curl -sX GET "https://api.github.com/repos/qBittorrent/qBittorrent/tags" | jq '.[0] .name' | tr -d '"') \ && LIBTORRENT_ASSETS=$(curl -sX GET "https://api.github.com/repos/arvidn/libtorrent/releases" | jq '.[0] .assets_url' | tr -d '"') \ && LIBTORRENT_DOWNLOAD_URL=$(curl -sX GET ${LIBTORRENT_ASSETS} | jq '.[0] .browser_download_url' | tr -d '"') \ && LIBTORRENT_NAME=$(curl -sX GET ${LIBTORRENT_ASSETS} | jq '.[0] .name' | tr -d '"') \ - && curl -o /opt/qBittorrent-${QBITTORRENT_RELEASE}.tar.gz -L https://github.com/qbittorrent/qBittorrent/archive/${QBITTORRENT_RELEASE}.tar.gz \ && curl -o /opt/${LIBTORRENT_NAME} -L ${LIBTORRENT_DOWNLOAD_URL} \ - && tar -xvzf /opt/qBittorrent-${QBITTORRENT_RELEASE}.tar.gz \ && tar -xvzf /opt/${LIBTORRENT_NAME} \ && rm /opt/*.tar.gz \ && cd /opt/libtorrent-rasterbar* \ && ./configure --disable-debug --enable-encryption && make clean && make -j$(nproc) && make install \ - && cd /opt/qBittorrent-${QBITTORRENT_RELEASE} \ + && git clone https://github.com/qbittorrent/qBittorrent.git \ + && cd /opt/qBittorrent \ && ./configure --disable-gui && make -j$(nproc) && make install \ && cd /opt \ && rm -rf /opt/* \