mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-03 06:14:07 +02:00
Update Dockerfile
This commit is contained in:
@@ -52,10 +52,10 @@ RUN \
|
|||||||
sed -i '2i /./entrypoint.sh' /sbin/docker-entrypoint.sh && \
|
sed -i '2i /./entrypoint.sh' /sbin/docker-entrypoint.sh && \
|
||||||
# Source bashio
|
# Source bashio
|
||||||
sed -i "/entrypoint.sh/a source /usr/lib/bashio/bashio.sh" /sbin/docker-entrypoint.sh && \
|
sed -i "/entrypoint.sh/a source /usr/lib/bashio/bashio.sh" /sbin/docker-entrypoint.sh && \
|
||||||
# Source config.yaml
|
|
||||||
sed -i "/entrypoint.sh/a source /usr/lib/bashio/bashio /etc/cont-init.d/90-config_yaml.sh" /sbin/docker-entrypoint.sh && \
|
|
||||||
# Source variables
|
# Source variables
|
||||||
sed -i "/entrypoint.sh/a source /usr/lib/bashio/bashio /templates/variables.sh" /sbin/docker-entrypoint.sh
|
sed -i "/entrypoint.sh/a source /usr/lib/bashio/bashio /templates/variables.sh || true" /sbin/docker-entrypoint.sh && \
|
||||||
|
# Source config.yaml
|
||||||
|
sed -i "/entrypoint.sh/a source /usr/lib/bashio/bashio /etc/cont-init.d/90-config_yaml.sh || true" /sbin/docker-entrypoint.sh
|
||||||
|
|
||||||
# Modules
|
# Modules
|
||||||
ARG MODULES="00-banner.sh 92-local_mounts.sh 92-smb_mounts.sh 90-config_yaml.sh"
|
ARG MODULES="00-banner.sh 92-local_mounts.sh 92-smb_mounts.sh 90-config_yaml.sh"
|
||||||
|
|||||||
Reference in New Issue
Block a user