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