From e62f0b7614ed80fdc5ad19f8f4f632f9013b1888 Mon Sep 17 00:00:00 2001 From: Angelos Tzotsos Date: Mon, 11 Dec 2023 11:22:04 +0200 Subject: [PATCH] Fix prometheus temp folder permissions --- core/Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/core/Dockerfile b/core/Dockerfile index 549f774..2284b8d 100644 --- a/core/Dockerfile +++ b/core/Dockerfile @@ -59,9 +59,8 @@ RUN cd /registrar_pycsw && \ ADD eoxserver.patch /opt/eoxserver/ RUN cd /opt/eoxserver && patch -p 1 < eoxserver.patch -# FIXME: Patching EOxServer 1.2.12 release prometheus configuration -ENV PROMETHEUS_MULTIPROC_DIR="/var/tmp/prometheus_multiproc_dir" RUN mkdir -p $PROMETHEUS_MULTIPROC_DIR && \ - chmod 777 $PROMETHEUS_MULTIPROC_DIR + chown www-data $PROMETHEUS_MULTIPROC_DIR && \ + chmod g+w $PROMETHEUS_MULTIPROC_DIR ENV STARTUP_SCRIPTS="/registrar_pycsw/registrar_pycsw/initialize-collections.sh"