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.

41 lines
996 B

4 months ago
2 weeks ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
  1. #FROM dockerreg.pep.security/nkls/pepdocker/peppythonadapter:latest
  2. FROM debian:buster-slim
  3. RUN apt update -y && apt upgrade -y
  4. RUN apt install -y git wget build-essential nano bison python3 linux-perf nmap iputils-ping
  5. RUN mkdir /code
  6. WORKDIR /code
  7. ENV PREFIX=/usr/local
  8. RUN wget https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.gz
  9. RUN tar -xf boost_1_76_0.tar.gz
  10. WORKDIR /code/boost_1_76_0/tools/build
  11. RUN ./bootstrap.sh
  12. RUN ./b2 install --prefix=$PREFIX
  13. WORKDIR /code/boost_1_76_0
  14. RUN ./bootstrap.sh
  15. RUN ./b2 --prefix=$PREFIX
  16. RUN ./b2 install --prefix=$PREFIX
  17. RUN ./b2 install headers --prefix=$PREFIX
  18. WORKDIR /code
  19. RUN git clone --recurse-submodules https://github.com/arvidn/libtorrent
  20. WORKDIR /code/libtorrent
  21. RUN b2
  22. RUN b2 install
  23. WORKDIR /code/libtorrent/examples
  24. RUN b2
  25. WORKDIR /
  26. RUN mkdir binaries
  27. RUN cp /code/libtorrent/examples/bin/gcc-8/debug/address-model-64/cxxstd-14-iso/link-static/threading-multi/* /binaries
  28. ENTRYPOINT /bin/bash