Skip to content

Commit

Permalink
fix: install deps from alpine packages
Browse files Browse the repository at this point in the history
  • Loading branch information
jee-r committed Feb 28, 2024
1 parent 29ccbc4 commit f60ba2a
Showing 1 changed file with 20 additions and 9 deletions.
29 changes: 20 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.18 AS unrar-builder
FROM alpine:3.19 AS unrar-builder
WORKDIR /tmp

ARG UNRAR_VERSION=6.1.5
Expand All @@ -21,7 +21,7 @@ RUN apk update && \
make


FROM emmercm/libtorrent:2.0.9-alpine
FROM emmercm/libtorrent:2.0.10-alpine

LABEL name="docker-deluge" \
maintainer="Jee [email protected]" \
Expand All @@ -46,7 +46,8 @@ RUN apk update && \
git \
tzdata \
ca-certificates \
curl && \
curl \
python3 && \
apk add --no-cache --virtual=build-dependencies --upgrade \
build-base \
libffi-dev \
Expand All @@ -57,15 +58,25 @@ RUN apk update && \
musl-dev \
cargo \
python3-dev && \
apk add --no-cache --virtual=deluge-dependencies --upgrade \
py3-chardet \
py3-distro \
py3-idna \
py3-mako \
py3-openssl \
py3-pillow \
py3-rencode \
py3-service_identity \
py3-setproctitle \
py3-setuptools \
py3-twisted \
py3-wheel \
py3-xdg \
py3-six \
py3-zope-interface && \
install -v -m755 /tmp/unrar /usr/local/bin && \
python3 -m ensurepip --upgrade && \
git clone -b develop git://deluge-torrent.org/deluge.git /tmp/deluge && \
cd /tmp/deluge && \
pip3 --timeout 40 --retries 10 install --no-cache-dir --upgrade \
wheel \
pip \
six==1.16.0 && \
pip3 --timeout 40 --retries 10 install --no-cache-dir --upgrade --requirement requirements.txt && \
python3 setup.py clean -a && \
python3 setup.py build && \
python3 setup.py install && \
Expand Down

0 comments on commit f60ba2a

Please sign in to comment.