mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Modify Dockerfile to link 'with-contenv' to 'env'
This commit is contained in:
@@ -98,9 +98,8 @@ ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templat
|
||||
|
||||
# Entrypoint modifications
|
||||
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint_modif.sh" "/ha_entrypoint_modif.sh"
|
||||
RUN sed -i 's|with-contenv|env|g' "/ha_entrypoint_modif.sh"
|
||||
RUN sed -i 's|with-contenv|env|g' "/ha_entrypoint.sh"
|
||||
RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif.sh && rm /ha_entrypoint_modif.sh
|
||||
RUN ln -sf /usr/bin/env /usr/bin/with-contenv
|
||||
|
||||
# Standalone bashio command
|
||||
#ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh"
|
||||
|
||||
Reference in New Issue
Block a user