| 1234567891011121314151617181920212223242526272829 |
- FROM docker.snppla.net/snppla/openvpn:1.0
- EXPOSE 58846
- RUN apt-get update && \
- apt-get install -y \
- software-properties-common \
- python3-pip \
- python3-setuptools \
- git && \
- add-apt-repository ppa:deluge-team/stable -y && \
- apt-get update && \
- apt-get install -y --no-install-recommends deluged && \
- rm -rf /var/lib/apt/lists/*
- # Build and install the WebAPI plugin against the container's Python 3
- RUN git clone https://github.com/idlesign/deluge-webapi.git /tmp/deluge-webapi && \
- cd /tmp/deluge-webapi && \
- python3 setup.py bdist_egg && \
- mkdir -p /config/plugins && \
- cp dist/WebAPI-*.egg /config/plugins/ && \
- rm -rf /tmp/deluge-webapi
- RUN useradd -ms /bin/bash deluge
- COPY deluged_init.sh /sbin/deluged_init.sh
- RUN chmod +x /sbin/deluged_init.sh
- CMD ["/sbin/deluged_init.sh"]
|