mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-26 18:43:39 +02:00
Source bashio
This commit is contained in:
@@ -50,6 +50,8 @@ ENV \
|
|||||||
RUN \
|
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
|
||||||
|
sed -i "/entrypoint.sh/a source $(find / -name bashio.sh)" /sbin/docker-entrypoint.sh && \
|
||||||
# Source config.yaml
|
# Source config.yaml
|
||||||
sed -i "/entrypoint.sh/a source /etc/cont-init.d/90-config_yaml.sh" /sbin/docker-entrypoint.sh && \
|
sed -i "/entrypoint.sh/a source /etc/cont-init.d/90-config_yaml.sh" /sbin/docker-entrypoint.sh && \
|
||||||
# Source variables
|
# Source variables
|
||||||
|
|||||||
Reference in New Issue
Block a user