mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2024-11-14 22:55:11 +00:00
Update Dockerfile
This commit is contained in:
parent
a039271599
commit
603034c433
@ -10,7 +10,7 @@ VOLUME /config
|
|||||||
|
|
||||||
RUN echo "http://dl-4.alpinelinux.org/alpine/edge/community/" >> /etc/apk/repositories \
|
RUN echo "http://dl-4.alpinelinux.org/alpine/edge/community/" >> /etc/apk/repositories \
|
||||||
&& echo "http://dl-4.alpinelinux.org/alpine/edge/testing/" >> /etc/apk/repositories \
|
&& echo "http://dl-4.alpinelinux.org/alpine/edge/testing/" >> /etc/apk/repositories \
|
||||||
&& apk add --update bash openvpn iptables shadow apk-tools boost-system boost-thread ca-certificates
|
&& apk add --update bash openvpn iptables shadow apk-tools boost-system boost-thread ca-certificates unrar
|
||||||
|
|
||||||
RUN usermod -u 99 nobody
|
RUN usermod -u 99 nobody
|
||||||
|
|
||||||
@ -22,6 +22,7 @@ RUN buildDeps=" \
|
|||||||
cmake \
|
cmake \
|
||||||
file \
|
file \
|
||||||
g++ \
|
g++ \
|
||||||
|
git \
|
||||||
geoip-dev \
|
geoip-dev \
|
||||||
gnutls-dev \
|
gnutls-dev \
|
||||||
libtool \
|
libtool \
|
||||||
@ -50,12 +51,12 @@ RUN buildDeps=" \
|
|||||||
&& ./autotool.sh \
|
&& ./autotool.sh \
|
||||||
&& export LDFLAGS=-L/opt/local/lib \
|
&& export LDFLAGS=-L/opt/local/lib \
|
||||||
&& export CXXFLAGS=-I/opt/local/include \
|
&& export CXXFLAGS=-I/opt/local/include \
|
||||||
&& ./configure --disable-debug \
|
&& ./configure --disable-debug --enable-encryption --prefix=/usr \
|
||||||
&& make install \
|
&& make install \
|
||||||
&& cd /usr/src/qbittorrent/ \
|
&& cd /usr/src/qbittorrent/ \
|
||||||
&& ./configure --disable-gui \
|
&& ./configure --disable-gui --prefix=/usr \
|
||||||
&& make -j$(nproc) \
|
&& make -j$(nproc) \
|
||||||
&& make && make install \
|
&& make install \
|
||||||
&& cd / \
|
&& cd / \
|
||||||
&& rm -rf /usr/src/libtorrent \
|
&& rm -rf /usr/src/libtorrent \
|
||||||
&& rm -rf /usr/src/qbittorrent \
|
&& rm -rf /usr/src/qbittorrent \
|
||||||
|
Loading…
Reference in New Issue
Block a user