mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2024-12-24 01:51:39 +00:00
Update Dockerfile
This commit is contained in:
parent
19e1364cb0
commit
5c242b5857
@ -14,6 +14,9 @@ RUN echo "http://dl-4.alpinelinux.org/alpine/edge/community/" >> /etc/apk/reposi
|
||||
|
||||
RUN usermod -u 99 nobody
|
||||
|
||||
# copy patches
|
||||
COPY patches/ /tmp/patches
|
||||
|
||||
RUN buildDeps=" \
|
||||
automake \
|
||||
autoconf \
|
||||
@ -53,7 +56,8 @@ RUN buildDeps=" \
|
||||
&& export CXXFLAGS=-I/opt/local/include \
|
||||
&& ./configure --disable-debug --enable-encryption --prefix=/usr \
|
||||
&& make install \
|
||||
&& cd /usr/src/qbittorrent/ \
|
||||
&& cd /usr/src/qbittorrent/src/app \
|
||||
&& patch -i /tmp/patches/main.patch && \
|
||||
&& ./configure --disable-gui --prefix=/usr \
|
||||
&& make -j$(nproc) \
|
||||
&& make install \
|
||||
@ -69,6 +73,7 @@ RUN buildDeps=" \
|
||||
&& apk add --virtual .run-deps $runDeps gnutls-utils iptables \
|
||||
&& apk del .build-deps \
|
||||
&& rm -rf /var/cache/apk/*
|
||||
&& rm -rf /tmp/*
|
||||
|
||||
# Add configuration and scripts
|
||||
ADD openvpn/ /etc/openvpn/
|
||||
|
Loading…
Reference in New Issue
Block a user