Updates updates updates!

This commit is contained in:
Stian Buch Larsen 2015-08-31 10:41:00 +02:00
parent 2e863e9ec2
commit 088eb77a1f
3 changed files with 5 additions and 24 deletions

View File

@ -1,9 +1,6 @@
FROM linuxserver/baseimage
MAINTAINER Stian Larsen <lonixx@gmail.com>
# Use baseimage-docker's init system
CMD ["/sbin/my_init"]
# Configure nzbdrone's apt repository
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FDA5DFFC && \
echo "deb http://apt.sonarr.tv/ master main" > /etc/apt/sources.list.d/sonarr.list && \
@ -12,11 +9,6 @@ apt-get install -qy libmono-cil-dev python nzbdrone && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
#Ports and Volumes
VOLUME /config
VOLUME /downloads
VOLUME /tv
EXPOSE 8989
#Adding Custom files
ADD init/ /etc/my_init.d/
@ -25,3 +17,6 @@ RUN chmod -v +x /etc/service/*/run
RUN chmod -v +x /etc/my_init.d/*.sh
#Ports and Volumes
VOLUME /config /downloads /tv
EXPOSE 8989

View File

@ -41,7 +41,6 @@ Part of what makes our containers work so well is by allowing you to specify you
* Upgrade to the latest version of sonarr simply `docker restart sonarr`.
* Monitor the logs of the container in realtime `docker logs -f sonarr`.
**Credits**
## Changelog
* lonix <lonixx@gmail.com>
* IronicBadger <ironicbadger@linuxserver.io>
+ **31.08.2015:** Cleanup, changed sources to fetch binarys from. also a new baseimage.

View File

@ -1,13 +0,0 @@
#!/bin/bash
if [ ! "$(id -u abc)" -eq "$PUID" ]; then usermod -u "$PUID" abc ; fi
if [ ! "$(id -g abc)" -eq "$PGID" ]; then groupmod -o -g "$PGID" abc ; fi
echo "
-----------------------------------
GID/UID
-----------------------------------
User uid: $(id -u abc)
User gid: $(id -g abc)
-----------------------------------
"