mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-03 22:34:11 +02:00
Update Dockerfile
This commit is contained in:
@@ -29,7 +29,8 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
|
|||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
# Change data folder
|
# Change data folder
|
||||||
sed -i "s|/fgc|/data|g" /usr/local/bin/docker-entrypoint.sh
|
sed -i "s|/fgc|/data|g" /usr/local/bin/docker-entrypoint.sh && \
|
||||||
|
sed -i "1a /./entrypoint.sh" /usr/local/bin/docker-entrypoint.sh
|
||||||
|
|
||||||
# Define subreaper
|
# Define subreaper
|
||||||
ENV TINI_SUBREAPER=true
|
ENV TINI_SUBREAPER=true
|
||||||
@@ -73,11 +74,11 @@ RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get
|
|||||||
# 4 Entrypoint #
|
# 4 Entrypoint #
|
||||||
################
|
################
|
||||||
|
|
||||||
RUN chmod 777 /entrypoint.sh
|
#RUN chmod 777 /entrypoint.sh
|
||||||
WORKDIR /data
|
WORKDIR /data
|
||||||
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"]
|
||||||
|
|
||||||
############
|
############
|
||||||
# 5 Labels #
|
# 5 Labels #
|
||||||
|
|||||||
Reference in New Issue
Block a user