Dockerfile 1018 B

1234567891011121314151617181920212223242526272829303132333435
  1. FROM ubuntu:focal
  2. RUN set -ex; \
  3. export DEBIAN_FRONTEND=noninteractive; \
  4. apt-get update; \
  5. apt-get install -y \
  6. git cmake build-essential wget
  7. RUN apt-get install -y \
  8. libssl-dev libboost-system-dev pkg-config zlib1g-dev
  9. RUN mkdir -p /workspace; \
  10. cd /workspace; \
  11. wget https://github.com/arvidn/libtorrent/releases/download/v1.2.15/libtorrent-rasterbar-1.2.15.tar.gz; \
  12. tar zxvf libtorrent-rasterbar-1.2.15.tar.gz; \
  13. cd libtorrent-rasterbar-1.2.15; \
  14. mkdir build; \
  15. cd build; \
  16. cmake ..; \
  17. make -j8; \
  18. make install
  19. RUN apt-get install -y qt5-qmake qt5-default \
  20. libqt5svg5-dev qttools5-dev-tools \
  21. --no-install-recommends
  22. RUN cd /workspace; \
  23. wget https://github.com/qbittorrent/qBittorrent/archive/refs/tags/release-4.3.6.tar.gz; \
  24. tar zxvf release-4.3.6.tar.gz
  25. RUN apt-get install -y qttools5-dev-tools --no-install-recommends
  26. RUN cd /workspace/qBittorrent-release-4.3.6; \
  27. ./configure --disable-gui; \
  28. make -j8 && make install