mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-10-30 09:31:44 +00:00
Update Dockerfile
This commit is contained in:
1 parent
6d6254f96e
commit
9561b57b40
1 file changed
+4
-4
@@ -51,11 +51,11 @@ RUN \
|
|||||||
# Run entrypoint
|
# Run entrypoint
|
||||||
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 $(find / -name 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 /etc/cont-init.d/90-config_yaml.sh" /sbin/docker-entrypoint.sh && \
|
|
||||||
# Source variables
|
# Source variables
|
||||||
sed -i "/entrypoint.sh/a source /templates/variables.sh" /sbin/docker-entrypoint.sh
|
sed -i "/entrypoint.sh/a source /usr/lib/bashio/bashio /templates/variables.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
|
||||||
|
|
||||||
# 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