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
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
|
RUN usermod -u 99 nobody
|
||||||
|
|
||||||
|
# copy patches
|
||||||
|
COPY patches/ /tmp/patches
|
||||||
|
|
||||||
RUN buildDeps=" \
|
RUN buildDeps=" \
|
||||||
automake \
|
automake \
|
||||||
autoconf \
|
autoconf \
|
||||||
@ -53,7 +56,8 @@ RUN buildDeps=" \
|
|||||||
&& export CXXFLAGS=-I/opt/local/include \
|
&& export CXXFLAGS=-I/opt/local/include \
|
||||||
&& ./configure --disable-debug --enable-encryption --prefix=/usr \
|
&& ./configure --disable-debug --enable-encryption --prefix=/usr \
|
||||||
&& make install \
|
&& make install \
|
||||||
&& cd /usr/src/qbittorrent/ \
|
&& cd /usr/src/qbittorrent/src/app \
|
||||||
|
&& patch -i /tmp/patches/main.patch && \
|
||||||
&& ./configure --disable-gui --prefix=/usr \
|
&& ./configure --disable-gui --prefix=/usr \
|
||||||
&& make -j$(nproc) \
|
&& make -j$(nproc) \
|
||||||
&& make install \
|
&& make install \
|
||||||
@ -69,6 +73,7 @@ RUN buildDeps=" \
|
|||||||
&& apk add --virtual .run-deps $runDeps gnutls-utils iptables \
|
&& apk add --virtual .run-deps $runDeps gnutls-utils iptables \
|
||||||
&& apk del .build-deps \
|
&& apk del .build-deps \
|
||||||
&& rm -rf /var/cache/apk/*
|
&& rm -rf /var/cache/apk/*
|
||||||
|
&& rm -rf /tmp/*
|
||||||
|
|
||||||
# Add configuration and scripts
|
# Add configuration and scripts
|
||||||
ADD openvpn/ /etc/openvpn/
|
ADD openvpn/ /etc/openvpn/
|
||||||
|
Loading…
Reference in New Issue
Block a user