Update Dockerfile

This commit is contained in:
MarkusMcNugen 2021-03-23 02:55:52 -04:00 committed by GitHub
parent ae61525ef3
commit f62ed47d58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,6 @@ RUN apk add --no-cache --upgrade gawk
RUN apk add --no-cache --upgrade pacman
RUN apk add --no-cache --upgrade net-tools
RUN apk add --no-cache --upgrade tar
RUN apk add --no-cache --upgrade gzip
RUN update-ca-certificates
RUN usermod -u 99 nobody
@ -79,9 +78,7 @@ RUN rm qbittorrent.tar.gz*
WORKDIR /usr/src/qbittorrent/src/app
RUN patch -i /tmp/patches/main.patch
WORKDIR /usr/src/qbittorrent/
RUN ./configure --disable-gui --prefix=/usr
RUN make -j$(nproc)
RUN make install
RUN ./configure --disable-gui --prefix=/usr && make -j$(nproc) && make install
WORKDIR /
RUN rm -rf /usr/src/libtorrent
RUN rm -rf /usr/src/qbittorrent