mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-16 04:19:13 +02:00
Restore ENTRYPOINT and CMD in Dockerfile
Re-enable ENTRYPOINT and CMD for the Docker container.
This commit is contained in:
@@ -103,14 +103,15 @@ 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 chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif.sh && rm /ha_entrypoint_modif.sh
|
||||||
|
|
||||||
# Standalone bashio command
|
# Standalone bashio command
|
||||||
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh"
|
#ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh"
|
||||||
RUN chmod 777 /.bashio-standalone.sh
|
#RUN chmod 777 /.bashio-standalone.sh
|
||||||
RUN sed -i "s|/usr/bin/with-contenv|/usr/bin/env|g" /etc/cont-init.d/* && \
|
#RUN sed -i "s|/usr/bin/with-contenv|/usr/bin/env|g" /etc/cont-init.d/* && \
|
||||||
sed -i "s|/usr/bin/with-contenv|/usr/bin/env|g" /etc/services.d/*/run
|
# sed -i "s|/usr/bin/with-contenv|/usr/bin/env|g" /etc/services.d/*/run && \
|
||||||
|
# sed -i "s|/usr/bin/with-contenv|/usr/bin/env|g" /etc/services.d/*/run
|
||||||
|
|
||||||
#WORKDIR /data
|
#WORKDIR /data
|
||||||
#ENTRYPOINT [ "/usr/bin/env" ]
|
ENTRYPOINT [ "/usr/bin/env" ]
|
||||||
#CMD [ "/ha_entrypoint.sh" ]
|
CMD [ "/ha_entrypoint.sh" ]
|
||||||
|
|
||||||
############
|
############
|
||||||
# 5 Labels #
|
# 5 Labels #
|
||||||
|
|||||||
Reference in New Issue
Block a user