mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-02-01 09:27:44 +01:00
Accept standalone bashio
This commit is contained in:
@@ -67,6 +67,13 @@ RUN chmod 744 /ha_autoapps.sh && /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.
|
||||
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh"
|
||||
RUN chmod 777 /ha_entrypoint.sh
|
||||
|
||||
# Install bashio
|
||||
ENV PATH="/usr/local/bin:${PATH}"
|
||||
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/usr/local/lib/bashio-standalone.sh"
|
||||
RUN chmod 0755 /usr/local/lib/bashio-standalone.sh
|
||||
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-router.sh" "/usr/local/bin/bashio"
|
||||
RUN chmod 0755 /usr/local/bin/bashio
|
||||
|
||||
RUN \ sed -i "s|/command/with-contenv|/usr/bin/env|g" "/ha_entrypoint.sh"
|
||||
|
||||
VOLUME [ "/data" ]
|
||||
|
||||
Reference in New Issue
Block a user