|
@@ -0,0 +1,35 @@
|
|
|
+FROM ubuntu:focal
|
|
|
+
|
|
|
+RUN set -ex; \
|
|
|
+ export DEBIAN_FRONTEND=noninteractive; \
|
|
|
+ apt-get update; \
|
|
|
+ apt-get install -y \
|
|
|
+ git cmake build-essential wget
|
|
|
+
|
|
|
+RUN apt-get install -y \
|
|
|
+ libssl-dev libboost-system-dev pkg-config zlib1g-dev
|
|
|
+
|
|
|
+RUN mkdir -p /workspace; \
|
|
|
+ cd /workspace; \
|
|
|
+ wget https://github.com/arvidn/libtorrent/releases/download/v1.2.15/libtorrent-rasterbar-1.2.15.tar.gz; \
|
|
|
+ tar zxvf libtorrent-rasterbar-1.2.15.tar.gz; \
|
|
|
+ cd libtorrent-rasterbar-1.2.15; \
|
|
|
+ mkdir build; \
|
|
|
+ cd build; \
|
|
|
+ cmake ..; \
|
|
|
+ make -j8; \
|
|
|
+ make install
|
|
|
+
|
|
|
+RUN apt-get install -y qt5-qmake qt5-default \
|
|
|
+ libqt5svg5-dev qttools5-dev-tools \
|
|
|
+ --no-install-recommends
|
|
|
+
|
|
|
+RUN cd /workspace; \
|
|
|
+ wget https://github.com/qbittorrent/qBittorrent/archive/refs/tags/release-4.3.6.tar.gz; \
|
|
|
+ tar zxvf release-4.3.6.tar.gz
|
|
|
+
|
|
|
+RUN apt-get install -y qttools5-dev-tools --no-install-recommends
|
|
|
+
|
|
|
+RUN cd /workspace/qBittorrent-release-4.3.6; \
|
|
|
+ ./configure; \
|
|
|
+ make -j8 && make install
|