Move app to /app

This commit is contained in:
Eric Nemchik
2020-04-05 02:24:08 -05:00
parent 53df8d6e90
commit 82b3b8ff88
6 changed files with 9 additions and 8 deletions

View File

@@ -18,7 +18,7 @@ RUN \
apt-get install -y \
jq && \
echo "**** install sonarr ****" && \
mkdir -p /opt/NzbDrone && \
mkdir -p /app/sonarr/bin && \
if [ -z ${SONARR_VERSION+x} ]; then \
SONARR_VERSION=$(curl -sX GET https://services.sonarr.tv/v1/download/${SONARR_BRANCH} \
| jq -r '.version'); \
@@ -28,7 +28,7 @@ RUN \
"https://download.sonarr.tv/v2/${SONARR_BRANCH}/mono/NzbDrone.${SONARR_BRANCH}.${SONARR_VERSION}.mono.tar.gz" && \
tar xf \
/tmp/sonarr.tar.gz -C \
/opt/NzbDrone --strip-components=1 && \
/app/sonarr/bin --strip-components=1 && \
echo "**** cleanup ****" && \
apt-get clean && \
rm -rf \

View File

@@ -18,7 +18,7 @@ RUN \
apt-get install -y \
jq && \
echo "**** install sonarr ****" && \
mkdir -p /opt/NzbDrone && \
mkdir -p /app/sonarr/bin && \
if [ -z ${SONARR_VERSION+x} ]; then \
SONARR_VERSION=$(curl -sX GET https://services.sonarr.tv/v1/download/${SONARR_BRANCH} \
| jq -r '.version'); \
@@ -28,7 +28,7 @@ RUN \
"https://download.sonarr.tv/v2/${SONARR_BRANCH}/mono/NzbDrone.${SONARR_BRANCH}.${SONARR_VERSION}.mono.tar.gz" && \
tar xf \
/tmp/sonarr.tar.gz -C \
/opt/NzbDrone --strip-components=1 && \
/app/sonarr/bin --strip-components=1 && \
echo "**** cleanup ****" && \
apt-get clean && \
rm -rf \

View File

@@ -18,7 +18,7 @@ RUN \
apt-get install -y \
jq && \
echo "**** install sonarr ****" && \
mkdir -p /opt/NzbDrone && \
mkdir -p /app/sonarr/bin && \
if [ -z ${SONARR_VERSION+x} ]; then \
SONARR_VERSION=$(curl -sX GET https://services.sonarr.tv/v1/download/${SONARR_BRANCH} \
| jq -r '.version'); \
@@ -28,7 +28,7 @@ RUN \
"https://download.sonarr.tv/v2/${SONARR_BRANCH}/mono/NzbDrone.${SONARR_BRANCH}.${SONARR_VERSION}.mono.tar.gz" && \
tar xf \
/tmp/sonarr.tar.gz -C \
/opt/NzbDrone --strip-components=1 && \
/app/sonarr/bin --strip-components=1 && \
echo "**** cleanup ****" && \
apt-get clean && \
rm -rf \

View File

@@ -48,6 +48,7 @@ app_setup_block: |
# changelog
changelogs:
- { date: "05.04.20:", desc: "Move app to /app." }
- { date: "01.08.19:", desc: "Rebase to Linuxserver LTS mono version." }
- { date: "13.06.19:", desc: "Add env variable for setting umask." }
- { date: "10.05.19:", desc: "Rebase to Bionic." }

View File

@@ -6,4 +6,4 @@
# permissions
chown -R abc:abc \
/opt/NzbDrone
/app/sonarr/bin

View File

@@ -4,7 +4,7 @@ UMASK_SET=${UMASK_SET:-022}
umask "$UMASK_SET"
cd /opt/NzbDrone || exit
cd /app/sonarr/bin || exit
exec \
s6-setuidgid abc mono --debug NzbDrone.exe \