Update Dockerfile

This commit is contained in:
MarkusMcNugen 2018-02-11 19:54:06 -05:00 committed by GitHub
parent cec85998ac
commit 7c4e992bc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,8 +15,8 @@ RUN echo "http://dl-4.alpinelinux.org/alpine/edge/community/" >> /etc/apk/reposi
RUN usermod -u 99 nobody RUN usermod -u 99 nobody
RUN buildDeps=" \ RUN buildDeps=" \
boost \ automake \
boost-build \ autoconf \
curl \ curl \
g++ \ g++ \
gnutls-dev \ gnutls-dev \
@ -46,11 +46,14 @@ RUN buildDeps=" \
&& rm libtor.tar.gz* \ && rm libtor.tar.gz* \
&& rm qbittorrent.tar.gz* \ && rm qbittorrent.tar.gz* \
&& cd /usr/src/libtorrent/ \ && 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/ \ && cd /usr/src/qbittorrent/ \
&& ./configure --disable-gui \ && ./configure --disable-gui \
&& make -j$(nproc) \ && make -j$(nproc) \
&& make install \ && make && make install \
&& cd / \ && cd / \
&& rm -rf /usr/src/libtorrent \ && rm -rf /usr/src/libtorrent \
&& rm -rf /usr/src/qbittorrent \ && rm -rf /usr/src/qbittorrent \