Sign inSign up

wiserain/libtorrent

By wiserain

Updated over 4 years ago

Base image providing pre-built libtorrent with python-bindings

Image
2

10K+

wiserain/libtorrent repository overview

docker-libtorrent

Base image providing pre-built libtorrent with python-bindings

Tags

{libtorrent_ver}-{base_image}-{py_ver}
description
libtorrent_verrelease version, i.e. 1.2.6
base_imagebase image with version, i.e. alpine3.11
py_verpython major version, i.e. py2 or py3

Usage

Libs are prepared in /libtorrent-build/usr/lib/ so you can copy them to your own image as follows.

Build
FROM wiserain/libtorrent:1.2.6-alpine3.11-py3 AS libtorrent
FROM alpine:3.11

# install runtime library
RUN apk add --no-cache \
      libstdc++ \
      boost-system \
      boost-python3 \
      python3

# copy libtorrent libs
COPY --from=libtorrent /libtorrent-build/usr/lib/ /usr/lib/
docker build -t libtorrent-test .
Test
>> docker run --rm libtorrent-test python3 -c 'import libtorrent; print(libtorrent.__version__)'
1.2.6.0

Tag summary

Content type

Image

Digest

Size

6.1 MB

Last updated

over 4 years ago

docker pull wiserain/libtorrent:2.0.5-alpine3.13