From 7c4e992bc3b10ee738c3e1b4f3ad1d5195f5a4d9 Mon Sep 17 00:00:00 2001 From: MarkusMcNugen Date: Sun, 11 Feb 2018 19:54:06 -0500 Subject: [PATCH] Update Dockerfile --- Dockerfile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 214579e..2904ceb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,8 +15,8 @@ RUN echo "http://dl-4.alpinelinux.org/alpine/edge/community/" >> /etc/apk/reposi RUN usermod -u 99 nobody RUN buildDeps=" \ - boost \ - boost-build \ + automake \ + autoconf \ curl \ g++ \ gnutls-dev \ @@ -46,11 +46,14 @@ RUN buildDeps=" \ && rm libtor.tar.gz* \ && rm qbittorrent.tar.gz* \ && cd /usr/src/libtorrent/ \ - && b2 install \ + && export LDFLAGS=-L/opt/local/lib \ + && export CXXFLAGS=-I/opt/local/include \ + && ./configure --disable-debug \ + && make install \ && cd /usr/src/qbittorrent/ \ && ./configure --disable-gui \ && make -j$(nproc) \ - && make install \ + && make && make install \ && cd / \ && rm -rf /usr/src/libtorrent \ && rm -rf /usr/src/qbittorrent \