From 64c0e3c3f66d7326b2197362a39875fe8b98c933 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 6 Jan 2025 09:45:43 +0100 Subject: [PATCH] Update Dockerfile --- webtrees/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webtrees/Dockerfile b/webtrees/Dockerfile index cb3e1a09c48..afbcb164471 100644 --- a/webtrees/Dockerfile +++ b/webtrees/Dockerfile @@ -40,7 +40,7 @@ ENV APACHE_RUN_USER=www-data \ # Global variables ENV WEBTREES_HOME="/var2/www/webtrees" WORKDIR $WEBTREES_HOME -# hadolint ignore=DL4006 +# hadolint ignore=DL4006, SC2016 RUN \ # Change data location grep -rl "/var/www/webtrees" /etc | xargs sed -i 's|/var/www/webtrees|/var2/www/webtrees|g' \ @@ -128,6 +128,9 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs with Apache +RUN if [ -d /etc/apache2/sites-available ]; then for file in /etc/apache2/sites-*/*.conf; do sed -i '/