mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2025-12-06 18:23:21 +00:00
Update Dockerfile
This commit is contained in:
@@ -68,7 +68,6 @@ RUN ./autotool.sh
|
|||||||
RUN export LDFLAGS=-L/opt/local/lib
|
RUN export LDFLAGS=-L/opt/local/lib
|
||||||
RUN export CXXFLAGS=-I/opt/local/include
|
RUN export CXXFLAGS=-I/opt/local/include
|
||||||
RUN ./configure --disable-debug --enable-encryption --prefix=/usr --disable-dependency-tracking
|
RUN ./configure --disable-debug --enable-encryption --prefix=/usr --disable-dependency-tracking
|
||||||
RUN make -j$(nproc)
|
|
||||||
RUN make install
|
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 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 curl -SL "https://github.com/qbittorrent/qBittorrent/archive/$QBIT_VERSION.tar.gz" -o qbittorrent.tar.gz
|
||||||
|
|||||||
Reference in New Issue
Block a user