From ca90ceb2bb6340d77d06f750fe00acecf4d095f2 Mon Sep 17 00:00:00 2001 From: Brandon Date: Mon, 19 Aug 2019 15:33:04 -0500 Subject: [PATCH] Bump --- Dockerfile | 3 ++- root/usr/local/bin/run.sh | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index b9b5015..e2b249a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,6 +25,7 @@ RUN \ py-gobject@edge \ su-exec@edge \ gstreamer@edge \ + gst-plugins-base@edge \ gst-plugins-good@edge \ gst-plugins-ugly@edge \ && pip install -U \ @@ -39,7 +40,7 @@ RUN \ && addgroup -g ${PGID} mopidy \ && adduser -h /mopidy -s /bin/sh -D -G mopidy -u ${PUID} mopidy \ && echo "* Fixing privileges" \ - && mkdir -p /data/.config /data/.cache \ + && mkdir -p /data/{.config,.cache} \ && chown -R mopidy:mopidy /data \ && echo "* Cleaning up" \ && rm -f /var/cache/apk/* \ diff --git a/root/usr/local/bin/run.sh b/root/usr/local/bin/run.sh index b3de7ea..b06e135 100755 --- a/root/usr/local/bin/run.sh +++ b/root/usr/local/bin/run.sh @@ -1,9 +1,9 @@ #!/bin/sh -if [ ! -f /data/.config/mopidy.conf ]; then +if [ ! -r /data/.config/mopidy.conf ]; then mkdir -p /data/.config && cp /defaults/mopidy.conf /data/.config fi trap "kill $PID" HUP INT TERM su-exec mopidy mopidy --config /data/.config/mopidy.conf "${@}" & PID=$! -wait $PID \ No newline at end of file +wait $PID