From 8b1edf3c3b84b6d418a9afbc8b892b15d802ae87 Mon Sep 17 00:00:00 2001 From: sparklyballs Date: Thu, 20 Jul 2017 18:38:35 +0100 Subject: [PATCH] internal git pull --- Dockerfile | 5 ++++- README.md | 1 + root/etc/cont-init.d/{40-config => 30-config} | 5 +++-- root/etc/cont-init.d/30-install | 9 --------- 4 files changed, 8 insertions(+), 12 deletions(-) rename root/etc/cont-init.d/{40-config => 30-config} (79%) delete mode 100644 root/etc/cont-init.d/30-install diff --git a/Dockerfile b/Dockerfile index 2b6dd6f..2b2d47c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ FROM lsiobase/alpine.python:3.6 -MAINTAINER smdion ,sparklyballs +MAINTAINER sparklyballs # set version label ARG BUILD_DATE @@ -38,6 +38,9 @@ RUN \ make && \ make install && \ +# install app + git clone --depth 1 https://github.com/rembo10/headphones.git /app/headphones && \ + # cleanup apk del --purge \ build-dependencies && \ diff --git a/README.md b/README.md index fc1a225..e5babd7 100755 --- a/README.md +++ b/README.md @@ -80,6 +80,7 @@ Access WebUI at `:8181` and walk through the wizard. ## Versions ++ **20.07.17:** Internal git pull instead of at runtime. + **12.07.17:** Add inspect commands to README, move to jenkins build and push. + **28.05.17:** Add flac package to handle FLAC based .cue. + **25.05.17:** Rebase to alpine 3.6. diff --git a/root/etc/cont-init.d/40-config b/root/etc/cont-init.d/30-config similarity index 79% rename from root/etc/cont-init.d/40-config rename to root/etc/cont-init.d/30-config index 9a26234..23546a6 100644 --- a/root/etc/cont-init.d/40-config +++ b/root/etc/cont-init.d/30-config @@ -5,5 +5,6 @@ cp /defaults/config.ini /config/config.ini # permissions -chown abc:abc \ - /config/* +chown -R abc:abc \ + /app \ + /config diff --git a/root/etc/cont-init.d/30-install b/root/etc/cont-init.d/30-install deleted file mode 100644 index ea199c5..0000000 --- a/root/etc/cont-init.d/30-install +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/with-contenv bash - -# install app -[[ ! -d /app/headphones/.git ]] && \ - git clone https://github.com/rembo10/headphones.git /app/headphones - -# permissions -chown -R abc:abc \ - /app