mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-01 13:24:04 +02:00
Update Dockerfile
This commit is contained in:
@@ -32,9 +32,8 @@ RUN \
|
|||||||
&& sed -i 's| /config| /data|g' /etc/logrotate.d/scrutiny \
|
&& sed -i 's| /config| /data|g' /etc/logrotate.d/scrutiny \
|
||||||
&& sed -i 's| /config| /data|g' /etc/crontabs/root \
|
&& sed -i 's| /config| /data|g' /etc/crontabs/root \
|
||||||
# correct url paths
|
# correct url paths
|
||||||
&& grep -rl '/web/' /app/scrutiny-web/ | xargs sed -i 's|/web/|./|g' \
|
&& grep -rl '/web/' /app/scrutiny-web/ | xargs sed -i 's|/web/|./|g'
|
||||||
&& if [ -f /run.sh ]; then chmod 777 /run.sh; fi
|
|
||||||
|
|
||||||
##################
|
##################
|
||||||
# 3 Install apps #
|
# 3 Install apps #
|
||||||
##################
|
##################
|
||||||
@@ -60,11 +59,8 @@ 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
|
# Collector
|
||||||
#WORKDIR /
|
RUN chmod 777 /run.sh
|
||||||
#ENTRYPOINT [ "/usr/bin/env" ]
|
|
||||||
#CMD [ "/entrypoint.sh" ]
|
|
||||||
#SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
|
||||||
|
|
||||||
############
|
############
|
||||||
# 5 Labels #
|
# 5 Labels #
|
||||||
|
|||||||
Reference in New Issue
Block a user