Skip to content

Instantly share code, notes, and snippets.

@mayli
Created January 20, 2020 07:03
Show Gist options
  • Save mayli/720cb6478b96a97e2eba235bdd2b0977 to your computer and use it in GitHub Desktop.
Save mayli/720cb6478b96a97e2eba235bdd2b0977 to your computer and use it in GitHub Desktop.
docker build exodus qbittorrent-nox
FROM alpine
RUN apk update && apk add python git automake libtool git boost-dev openssl-dev qt5-qtbase-dev qt5-qttools-dev autoconf build-base py2-pip
RUN pip install exodus-bundler
RUN cd && git clone https://github.com/arvidn/libtorrent.git && \
cd libtorrent/ && \
git checkout RC_1_2 && \
./autotool.sh && \
./configure --disable-debug --enable-encryption CXXFLAGS="-std=c++14" && \
make -j$(nproc) && \
make install
RUN cd && git clone https://github.com/qbittorrent/qBittorrent && \
cd qBittorrent/ && \
./configure --disable-gui CXXFLAGS="-std=c++14" && \
make -j$(nproc) && make install && \
ldd ./src/qbittorrent-nox && \
exodus qbittorrent-nox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment