From 677dd100f0f5c2b332450ee1138b4299929bb126 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 9 Jan 2022 17:07:05 +0100 Subject: [PATCH] Update Dockerfile --- scrutiny/Dockerfile | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/scrutiny/Dockerfile b/scrutiny/Dockerfile index 1584fa5bd..0e39e41f5 100644 --- a/scrutiny/Dockerfile +++ b/scrutiny/Dockerfile @@ -32,9 +32,8 @@ RUN \ && sed -i 's| /config| /data|g' /etc/logrotate.d/scrutiny \ && sed -i 's| /config| /data|g' /etc/crontabs/root \ # correct url paths - && grep -rl '/web/' /app/scrutiny-web/ | xargs sed -i 's|/web/|./|g' \ - && if [ -f /run.sh ]; then chmod 777 /run.sh; fi - + && grep -rl '/web/' /app/scrutiny-web/ | xargs sed -i 's|/web/|./|g' + ################## # 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 # ################ -#RUN chmod 777 /entrypoint.sh -#WORKDIR / -#ENTRYPOINT [ "/usr/bin/env" ] -#CMD [ "/entrypoint.sh" ] -#SHELL ["/bin/bash", "-o", "pipefail", "-c"] +# Collector +RUN chmod 777 /run.sh ############ # 5 Labels #