Initial commit

This commit is contained in:
Dominique Barton
2015-07-09 23:23:29 +02:00
commit 0d8c8b3422
2 changed files with 31 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
FROM debian:8
MAINTAINER confirm IT solutions, dbarton
RUN apt-get -q update \
&& apt-get install -qy git python-cheetah python-openssl \
&& apt-get -y autoremove \
&& apt-get -y clean \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /tmp/*
RUN groupadd -r -g 666 couchpotato \
&& useradd -r -u 666 -g 666 couchpotato
RUN git clone https://github.com/RuudBurger/CouchPotatoServer.git /couchpotato \
&& chown -R couchpotato: /couchpotato
ADD start.sh /start.sh
RUN chown couchpotato: /start.sh \
&& chmod 755 /start.sh
VOLUME ['/datadir', '/media']
EXPOSE 443
USER couchpotato
CMD /start.sh
+4
View File
@@ -0,0 +1,4 @@
#!/bin/sh
cd /sickbeard
git pull
./SickBeard.py --nolaunch --datadir=/datadir --config=/datadir/config.ini