forked from linuxserver/docker-deluge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.aarch64
63 lines (58 loc) · 1.18 KB
/
Dockerfile.aarch64
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
FROM lsiobase/ubuntu:arm64v8-bionic
# set version label
ARG BUILD_DATE
ARG VERSION
ARG DELUGE_VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="sparklyballs, aptalca"
# environment variables
ENV PYTHON_EGG_CACHE="/config/plugins/.python-eggs"
# install software
RUN \
echo "**** install packages ****" && \
apt-get update && \
apt-get install -y \
deluged \
deluge-console \
deluge-web \
p7zip-full \
unrar \
unzip \
libssl1.0.0 \
openssl && \
echo "**** install build deps ****" && \
apt-get install -y \
libssl-dev \
python-dev \
build-essential \
libffi-dev \
python-pip && \
echo "**** install pip packages ****" && \
pip install --no-cache-dir -U \
incremental \
crypto \
mako \
markupsafe \
pyopenssl \
service_identity \
six \
twisted \
zope.interface && \
echo "**** cleanup ****" && \
apt-get purge -y \
libssl-dev \
python-dev \
build-essential \
libffi-dev \
python-pip && \
apt-get --purge autoremove -y && \
apt-get clean && \
rm -rf \
/tmp/* \
/var/lib/apt/lists/* \
/var/tmp/*
# add local files
COPY root/ /
# ports and volumes
EXPOSE 8112 58846 58946 58946/udp
VOLUME /config /downloads