From 088eb77a1ffe3edbbfbcfa088d11a30c4ecbca42 Mon Sep 17 00:00:00 2001 From: Stian Buch Larsen Date: Mon, 31 Aug 2015 10:41:00 +0200 Subject: [PATCH] Updates updates updates! --- Dockerfile | 11 +++-------- README.md | 5 ++--- init/90_new_user.sh | 13 ------------- 3 files changed, 5 insertions(+), 24 deletions(-) delete mode 100644 init/90_new_user.sh diff --git a/Dockerfile b/Dockerfile index 72aa4f8..347ba45 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,6 @@ FROM linuxserver/baseimage MAINTAINER Stian Larsen -# 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 diff --git a/README.md b/README.md index 300f96e..82ecb8d 100644 --- a/README.md +++ b/README.md @@ -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 -* IronicBadger ++ **31.08.2015:** Cleanup, changed sources to fetch binarys from. also a new baseimage. \ No newline at end of file diff --git a/init/90_new_user.sh b/init/90_new_user.sh deleted file mode 100644 index fc75ed2..0000000 --- a/init/90_new_user.sh +++ /dev/null @@ -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) ------------------------------------ -"