Skip to content

Commit

Permalink
fix: use emmercm/libtorrent as base
Browse files Browse the repository at this point in the history
  • Loading branch information
jee-r committed Oct 9, 2023
1 parent 4e4993e commit 29ccbc4
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.17 AS unrar-builder
FROM alpine:3.18 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.8-alpine
FROM emmercm/libtorrent:2.0.9-alpine

LABEL name="docker-deluge" \
maintainer="Jee [email protected]" \
Expand All @@ -32,7 +32,6 @@ LABEL name="docker-deluge" \

COPY rootfs /
COPY --from=unrar-builder /tmp/unrar/unrar /tmp/unrar
COPY --from=libtorrent-builder /usr /usr

ENV PYTHON_EGG_CACHE=/config/.cache \
XDG_CONFIG_HOME=/config \
Expand Down Expand Up @@ -60,7 +59,7 @@ RUN apk update && \
python3-dev && \
install -v -m755 /tmp/unrar /usr/local/bin && \
python3 -m ensurepip --upgrade && \
git clone git://deluge-torrent.org/deluge.git /tmp/deluge && \
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 \
Expand All @@ -80,4 +79,4 @@ VOLUME ["/config"]
HEALTHCHECK --interval=5m --timeout=3s --start-period=30s \
CMD /usr/local/bin/healthcheck.sh 58846 8112

ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]

0 comments on commit 29ccbc4

Please sign in to comment.