-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
43 lines (38 loc) · 992 Bytes
/
Dockerfile
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
FROM alpine:3.15
LABEL maintainer="Janne K <[email protected]>"
ENTRYPOINT ["/sbin/tini", "-g", "--", "/usr/local/bin/container-entrypoint"]
CMD ["container-daemon"]
RUN \
sed -i 's/http:/https:/' /etc/apk/repositories && \
apk upgrade --no-cache && \
apk add --no-cache \
ca-certificates \
iptables \
ip6tables \
su-exec \
tini \
tzdata && \
ln -s /usr/share/zoneinfo/Universal /etc/localtime
VOLUME ["/app"]
RUN \
apk add --no-cache \
libcurl \
libstdc++ \
python3 && \
python3 -m ensurepip && \
python3 -m pip install --no-cache-dir --upgrade pip wheel && \
apk add --no-cache --virtual build-deps \
build-base \
curl-dev \
jpeg-dev \
linux-headers \
python3-dev && \
python3 -m pip install --no-cache-dir \
'flexget<3.2' \
'pycurl' \
'transmission-rpc' \
'transmissionrpc-ng' && \
python3 -m pip uninstall --no-cache-dir --yes pip wheel && \
apk del --no-cache build-deps && \
rm -rf /root/.cache
COPY rootfs/ /