From 3fe6ae486fba42e3c6d5e5b2d8d73c0bee889caa Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 13 Feb 2021 10:28:32 +0100 Subject: [PATCH] Update Dockerfile --- scrutiny/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scrutiny/Dockerfile b/scrutiny/Dockerfile index f9f4815f4..84c376290 100644 --- a/scrutiny/Dockerfile +++ b/scrutiny/Dockerfile @@ -27,9 +27,9 @@ RUN \ && sed -i 's/bash/bashio/g' /etc/cont-init.d/10-adduser \ && sed -i 's/{PUID:-911}/(bashio::config "PUID")/g' /etc/cont-init.d/10-adduser \ && sed -i 's/{PGID:-911}/(bashio::config "PGID")/g' /etc/cont-init.d/10-adduser \ -# use /data instead of /config for hass.io environment - && grep -rl /etc/cont-init.d/* -e '/config' | xargs sed -i 's=/config=/data=g' \ +# use /data instead of /config + # && grep -rl /etc/cont-init.d/* -e '/config' | xargs sed -i 's=/config=/data=g' \ # && grep -rl /etc/services.d/* -e '/config' | xargs sed -i 's=/config=/data=g' \ - && grep -rl /defaults/* -e '/config' | xargs sed -i 's=/config=/data=g' + sed -i 's|/config|/data|g' /defaults/scrutiny.yaml VOLUME [ "/data" ]