From 603034c43390139800792d6b2de93fe2e9f0e256 Mon Sep 17 00:00:00 2001 From: MarkusMcNugen Date: Sun, 11 Feb 2018 20:40:54 -0500 Subject: [PATCH] Update Dockerfile --- Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4bdafcb..910017d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ VOLUME /config 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 \ - && 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 @@ -22,6 +22,7 @@ RUN buildDeps=" \ cmake \ file \ g++ \ + git \ geoip-dev \ gnutls-dev \ libtool \ @@ -50,12 +51,12 @@ RUN buildDeps=" \ && ./autotool.sh \ && export LDFLAGS=-L/opt/local/lib \ && export CXXFLAGS=-I/opt/local/include \ - && ./configure --disable-debug \ + && ./configure --disable-debug --enable-encryption --prefix=/usr \ && make install \ && cd /usr/src/qbittorrent/ \ - && ./configure --disable-gui \ + && ./configure --disable-gui --prefix=/usr \ && make -j$(nproc) \ - && make && make install \ + && make install \ && cd / \ && rm -rf /usr/src/libtorrent \ && rm -rf /usr/src/qbittorrent \