mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 05:44:03 +02:00
Update Dockerfile
This commit is contained in:
@@ -48,7 +48,7 @@ ENV \
|
|||||||
# Modify image
|
# Modify image
|
||||||
# hadolint ignore=SC2016
|
# hadolint ignore=SC2016
|
||||||
RUN \
|
RUN \
|
||||||
exit 0 && sed -i 's|usr/bin/env bash|usr/bin/env bashio|g' /sbin/docker-entrypoint.sh && \
|
sed -i 's|usr/bin/env bash|usr/bin/env bashio|g' /sbin/docker-entrypoint.sh && \
|
||||||
# Run entrypoint
|
# Run entrypoint
|
||||||
sed -i '2i /./entrypoint.sh' /sbin/docker-entrypoint.sh && \
|
sed -i '2i /./entrypoint.sh' /sbin/docker-entrypoint.sh && \
|
||||||
# Source variables
|
# Source variables
|
||||||
@@ -92,8 +92,8 @@ RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get
|
|||||||
RUN chmod 777 /entrypoint.sh
|
RUN chmod 777 /entrypoint.sh
|
||||||
RUN chmod 777 /templates/variables.sh
|
RUN chmod 777 /templates/variables.sh
|
||||||
#WORKDIR /
|
#WORKDIR /
|
||||||
ENTRYPOINT [ "/usr/bin/env" ]
|
#ENTRYPOINT [ "/usr/bin/env" ]
|
||||||
CMD [ "/entrypoint.sh" ]
|
#CMD [ "/entrypoint.sh" ]
|
||||||
#SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
#SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||||
|
|
||||||
############
|
############
|
||||||
|
|||||||
Reference in New Issue
Block a user