Added manual boost install
This commit is contained in:
parent
8eba00ea1e
commit
c0e5462fbf
30
Dockerfile
30
Dockerfile
@ -7,6 +7,31 @@ RUN usermod -u 99 nobody
|
||||
# Make directories
|
||||
RUN mkdir -p /downloads /config/qBittorrent /etc/openvpn /etc/qbittorrent
|
||||
|
||||
# Install boost
|
||||
RUN apt update \
|
||||
&& apt -y upgrade \
|
||||
&& apt -y install --no-install-recommends \
|
||||
curl \
|
||||
ca-certificates \
|
||||
g++ \
|
||||
&& curl -o /opt/boost_1_75_0.tar.gz -L https://dl.bintray.com/boostorg/release/1.75.0/source/boost_1_75_0.tar.gz \
|
||||
&& tar -xzf /opt/boost_1_75_0.tar.gz -C /opt \
|
||||
&& cd /opt/boost_1_75_0 \
|
||||
&& ./bootstrap.sh --prefix=/usr \
|
||||
&& ./b2 --prefix=/usr install \
|
||||
&& cd /opt \
|
||||
&& rm -rf /opt/* \
|
||||
&& apt -y purge \
|
||||
curl \
|
||||
ca-certificates \
|
||||
g++ \
|
||||
&& apt-get clean \
|
||||
&& apt -y autoremove \
|
||||
&& rm -rf \
|
||||
/var/lib/apt/lists/* \
|
||||
/tmp/* \
|
||||
/var/tmp/*
|
||||
|
||||
# Install Ninja
|
||||
RUN apt update \
|
||||
&& apt upgrade -y \
|
||||
@ -66,7 +91,6 @@ RUN apt update \
|
||||
ca-certificates \
|
||||
curl \
|
||||
jq \
|
||||
libboost-system-dev \
|
||||
libssl-dev \
|
||||
&& LIBTORRENT_ASSETS=$(curl -sX GET "https://api.github.com/repos/arvidn/libtorrent/releases" | jq '.[] | select(.prerelease==false) | select(.target_commitish=="RC_2_0") | .assets_url' | head -n 1 | tr -d '"') \
|
||||
&& LIBTORRENT_DOWNLOAD_URL=$(curl -sX GET ${LIBTORRENT_ASSETS} | jq '.[0] .browser_download_url' | tr -d '"') \
|
||||
@ -85,7 +109,6 @@ RUN apt update \
|
||||
ca-certificates \
|
||||
curl \
|
||||
jq \
|
||||
libboost-system-dev \
|
||||
libssl-dev \
|
||||
&& apt-get clean \
|
||||
&& apt autoremove -y \
|
||||
@ -103,7 +126,6 @@ RUN apt update \
|
||||
curl \
|
||||
git \
|
||||
jq \
|
||||
libboost-system-dev \
|
||||
libssl-dev \
|
||||
pkg-config \
|
||||
qtbase5-dev \
|
||||
@ -125,7 +147,6 @@ RUN apt update \
|
||||
curl \
|
||||
git \
|
||||
jq \
|
||||
libboost-system-dev \
|
||||
libssl-dev \
|
||||
pkg-config \
|
||||
qtbase5-dev \
|
||||
@ -149,7 +170,6 @@ RUN echo "deb http://deb.debian.org/debian/ unstable main" > /etc/apt/sources.li
|
||||
ipcalc \
|
||||
iptables \
|
||||
kmod \
|
||||
libboost-system1.67.0 \
|
||||
libqt5network5 \
|
||||
libqt5xml5 \
|
||||
libssl1.1 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user