forked from wouterla/docker-sickrage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
28 lines (22 loc) · 753 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
FROM alpine:edge
MAINTAINER [email protected]
ENV LANG='en_US.UTF-8' \
LANGUAGE='en_US.UTF-8' \
TERM='xterm'
RUN apk -U upgrade && \
apk -U add \
ca-certificates \
py2-pip ca-certificates git python py-libxml2 py-lxml \
make gcc g++ python-dev openssl-dev libffi-dev unrar tzdata \
&& \
pip --no-cache-dir install --upgrade setuptools && \
pip --no-cache-dir install --upgrade pyopenssl cheetah requirements && \
git clone --depth 1 https://github.com/SickRage/SickRage.git /sickrage && \
apk del make gcc g++ python-dev && \
rm -rf /tmp && \
rm -rf /var/cache/apk/*
ADD ./start.sh /start.sh
RUN chmod u+x /start.sh
VOLUME ["/config", "/data", "/cache"]
EXPOSE 8081
CMD ["/start.sh"]