Base image providing pre-built libtorrent with python-bindings
10K+
Base image providing pre-built libtorrent with python-bindings
{libtorrent_ver}-{base_image}-{py_ver}
| description | |
|---|---|
libtorrent_ver | release version, i.e. 1.2.6 |
base_image | base image with version, i.e. alpine3.11 |
py_ver | python major version, i.e. py2 or py3 |
Libs are prepared in /libtorrent-build/usr/lib/ so you can copy them to your own image as follows.
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 .
>> docker run --rm libtorrent-test python3 -c 'import libtorrent; print(libtorrent.__version__)'
1.2.6.0
Content type
Image
Digest
Size
6.1 MB
Last updated
over 4 years ago
docker pull wiserain/libtorrent:2.0.5-alpine3.13