Update Dockerfile

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

View File

@ -68,7 +68,7 @@ WORKDIR /usr/src/libtorrent/
RUN ./autotool.sh
RUN export LDFLAGS=-L/opt/local/lib
RUN export CXXFLAGS=-I/opt/local/include
RUN ./configure --disable-debug --enable-encryption --prefix=/usr
RUN ./configure --disable-debug --enable-encryption --prefix=/usr --disable-dependency-tracking
RUN make -j$(nproc)
RUN make install
RUN QBIT_VERSION=$(curl --silent "https://github.com/qbittorrent/qBittorrent/tags" 2>&1 | grep -m 1 'release-' | sed -e 's~^[t]*~~;s~[t]*$~~' | sed -n 's/.*href="\([^"]*\).*/\1/p' | sed 's!.*/!!')