This commit is contained in:
Alexandre
2022-11-04 21:07:35 +01:00
committed by GitHub
parent 6a1aa3ab2c
commit 88b462a362
30 changed files with 30 additions and 30 deletions

View File

@@ -47,7 +47,7 @@ RUN \
&& for file in /etc/services.d/*/* /etc/cont-init.d/* /etc/s6-overlay/s6-rc.d/*/*;do if [ -f $files ] && [[ ! -z $(awk '/chown.*abc:abc.*\\/,/.*\/config( |$)/{print FILENAME}' $file) ]] ; then sed -i "s|/config$|/data|g" $file; fi ;done \
\
# Docker mods addition
&& if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i '1a if bashio::config.has_value "DOCKER_MODS"; then DOCKER_MODS=$(bashio::config "DOCKER_MODS"); fi' /docker-mods; fi
&& if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i "1a if bashio::config.has_value \"DOCKER_MODS\"; then DOCKER_MODS=\$(bashio::config \"DOCKER_MODS\"); fi" /docker-mods; fi
##################
# 3 Install apps #