Repository where nkls researches and experiments with building mixnet stuff using libtorrent
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.0 KiB

FROM debian:buster-slim
RUN apt update -y && apt upgrade -y
RUN apt install -y git wget build-essential nano bison python3 linux-perf nmap iputils-ping
RUN mkdir /code
ENV PREFIX=/usr/local
RUN wget
RUN tar -xf boost_1_76_0.tar.gz
WORKDIR /code/boost_1_76_0/tools/build
RUN ./
RUN ./b2 install --prefix=$PREFIX
WORKDIR /code/boost_1_76_0
RUN ./
RUN ./b2 --prefix=$PREFIX
RUN ./b2 install --prefix=$PREFIX
RUN ./b2 install headers --prefix=$PREFIX
RUN git clone --recurse-submodules
WORKDIR /code/libtorrent
#RUN apt install -y python3-distutils python3-setuptools
#RUN python3 build
#RUN python3 install
RUN b2
WORKDIR /code/libtorrent/examples
RUN b2
RUN mkdir binaries
RUN cp /code/libtorrent/examples/bin/gcc-8/debug/address-model-64/cxxstd-14-iso/link-static/threading-multi/* /binaries
ENTRYPOINT /bin/bash