Browse Source

failed with python bindings

master
nkls 3 months ago
parent
commit
f75b8b3780
5 changed files with 21 additions and 8 deletions
  1. BIN
      .docker-compose.yml.swp
  2. +15
    -4
      Dockerfile
  3. +6
    -1
      docker-compose.yml
  4. +0
    -3
      entrypoint.sh
  5. BIN
      tinker/linuxmint-19-cinnamon-32bit.iso.torrent

BIN
.docker-compose.yml.swp View File


+ 15
- 4
Dockerfile View File

@ -1,15 +1,15 @@
FROM debian:buster-slim
RUN apt update -y
RUN apt upgrade -y
RUN apt install -y git wget build-essential nano bison
RUN apt update -y && apt upgrade -y
RUN apt install -y git wget build-essential nano bison python3 linux-perf
RUN mkdir /code
WORKDIR /code
ENV PREFIX=/usr/local
RUN wget https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.gz
RUN tar -xf boost_1_76_0.tar.gz
WORKDIR /code/boost_1_76_0/tools/build
ENV PREFIX=/usr/local
RUN ./bootstrap.sh
RUN ./b2 install --prefix=$PREFIX
@ -19,13 +19,24 @@ RUN ./b2 --prefix=$PREFIX
RUN ./b2 install --prefix=$PREFIX
RUN ./b2 install headers --prefix=$PREFIX
WORKDIR /code
RUN git clone --recurse-submodules https://github.com/arvidn/libtorrent
WORKDIR /code/libtorrent
#RUN apt install -y python3-distutils python3-setuptools
#RUN python3 setup.py build
#RUN python3 setup.py install
RUN b2
WORKDIR /code/libtorrent/examples
RUN b2
WORKDIR /
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

+ 6
- 1
docker-compose.yml View File

@ -9,6 +9,7 @@ services:
volumes:
- ./logs:/logs
- ./scripts:/scripts
- ./tinker:/tinker
tty: true
command: tail -F /logs/output.log
networks:
@ -24,6 +25,7 @@ services:
volumes:
- ./logs:/logs
- ./scripts:/scripts
- ./tinker:/tinker
tty: true
command: tail -F /logs/output.log
networks:
@ -39,6 +41,7 @@ services:
volumes:
- ./logs:/logs
- ./scripts:/scripts
- ./tinker:/tinker
tty: true
command: tail -F /logs/output.log
networks:
@ -54,6 +57,7 @@ services:
volumes:
- ./logs:/logs
- ./scripts:/scripts
- ./tinker:/tinker
tty: true
command: tail -F /logs/output.log
networks:
@ -69,6 +73,7 @@ services:
volumes:
- ./logs:/logs
- ./scripts:/scripts
- ./tinker:/tinker
tty: true
command: tail -F /logs/output.log
networks:
@ -79,7 +84,7 @@ services:
networks:
localnet:
internal: true
internal: false
ipam:
driver: default
config:


+ 0
- 3
entrypoint.sh View File

@ -1,3 +0,0 @@
#!/bin/bash
/bin/bash

BIN
tinker/linuxmint-19-cinnamon-32bit.iso.torrent View File


Loading…
Cancel
Save