mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-03-13 08:31:01 +01:00
Update Dockerfile
This commit is contained in:
@@ -108,8 +108,6 @@ RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif.
|
||||
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh"
|
||||
RUN chmod 777 /.bashio-standalone.sh
|
||||
|
||||
RUN sed -i "s|/usr/bin/env|/usr/bin/with-contenv|g" /etc/cont-init.d/*
|
||||
|
||||
RUN set -e; \
|
||||
extensions_dir="/usr/src/chrome/extensions"; \
|
||||
mkdir -p "${extensions_dir}"; \
|
||||
@@ -132,6 +130,9 @@ RUN set -e; \
|
||||
done; \
|
||||
chown -R chrome:chrome "${extensions_dir}"
|
||||
|
||||
ENTRYPOINT [ "/usr/bin/env" ]
|
||||
CMD [ "/ha_entrypoint.sh" ]
|
||||
|
||||
############
|
||||
# 5 Labels #
|
||||
############
|
||||
|
||||
Reference in New Issue
Block a user