mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-19 15:21:50 +02:00
Hadolint
This commit is contained in:
@@ -60,7 +60,7 @@ RUN \
|
||||
#&& 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 \
|
||||
\
|
||||
# Replace lsiown if not found
|
||||
&& if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi && \
|
||||
&& if [ ! -f /usr/bin/lsiown ]; then for file in $(grep -sril "lsiown" /etc); do sed -i "s|lsiown|chown|g" $file; done; fi \
|
||||
\
|
||||
# Add entrypoint if existing
|
||||
&& if [ -f /docker-mods ] && [ -f /entrypoint.sh ]; then chmod +x /entrypoint.sh && sed -i "1a /./entrypoint.sh" /docker-mods; fi
|
||||
|
||||
@@ -106,6 +106,6 @@
|
||||
"slug": "webtop-kde",
|
||||
"tmpfs": true,
|
||||
"url": "https://github.com/alexbelgium/hassio-addons",
|
||||
"version": "4.16-r0-ls89-xfce4",
|
||||
"version": "4.16-r0-ls89-xfce5",
|
||||
"video": true
|
||||
}
|
||||
Reference in New Issue
Block a user