mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
Update Dockerfile
This commit is contained in:
@@ -29,7 +29,8 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
|
||||
|
||||
RUN \
|
||||
# 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
|
||||
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 #
|
||||
################
|
||||
|
||||
RUN chmod 777 /entrypoint.sh
|
||||
#RUN chmod 777 /entrypoint.sh
|
||||
WORKDIR /data
|
||||
ENTRYPOINT [ "/usr/bin/env" ]
|
||||
CMD [ "/entrypoint.sh" ]
|
||||
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||
#ENTRYPOINT [ "/usr/bin/env" ]
|
||||
#CMD [ "/entrypoint.sh" ]
|
||||
#SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||
|
||||
############
|
||||
# 5 Labels #
|
||||
|
||||
Reference in New Issue
Block a user