mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2024-11-25 03:54:59 +00:00
Update Dockerfile
This commit is contained in:
parent
b52be9a310
commit
6b4ebcabf4
@ -67,7 +67,9 @@ WORKDIR /usr/src/libtorrent/
|
|||||||
RUN ./autotool.sh
|
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 && make && make install
|
RUN ./configure --disable-debug --enable-encryption --prefix=/usr --disable-dependency-tracking
|
||||||
|
RUN make
|
||||||
|
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
|
||||||
RUN mkdir -p /usr/src/qbittorrent
|
RUN mkdir -p /usr/src/qbittorrent
|
||||||
@ -76,7 +78,9 @@ RUN rm qbittorrent.tar.gz*
|
|||||||
WORKDIR /usr/src/qbittorrent/src/app
|
WORKDIR /usr/src/qbittorrent/src/app
|
||||||
RUN patch -i /tmp/patches/main.patch
|
RUN patch -i /tmp/patches/main.patch
|
||||||
WORKDIR /usr/src/qbittorrent/
|
WORKDIR /usr/src/qbittorrent/
|
||||||
RUN ./configure --disable-gui --prefix=/usr && make && make install
|
RUN ./configure --disable-gui --prefix=/usr
|
||||||
|
RUN make
|
||||||
|
RUN make install
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
RUN rm -rf /usr/src/libtorrent
|
RUN rm -rf /usr/src/libtorrent
|
||||||
RUN rm -rf /usr/src/qbittorrent
|
RUN rm -rf /usr/src/qbittorrent
|
||||||
|
Loading…
Reference in New Issue
Block a user