From afd96d180be3b23ffb30814843fbe5525c9fd4e1 Mon Sep 17 00:00:00 2001 From: Angelos Tzotsos Date: Sun, 10 Dec 2023 11:00:37 +0200 Subject: [PATCH] Fix prometheus temp folder permissions --- core/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/Dockerfile b/core/Dockerfile index 2ad9827..22cdcd6 100644 --- a/core/Dockerfile +++ b/core/Dockerfile @@ -58,4 +58,8 @@ RUN cd /registrar_pycsw && \ ADD eoxserver.patch /opt/eoxserver/ RUN cd /opt/eoxserver && patch -p 1 < eoxserver.patch +ENV PROMETHEUS_MULTIPROC_DIR="/var/tmp/prometheus_multiproc_dir" +RUN mkdir -p $PROMETHEUS_MULTIPROC_DIR && \ + chmod 777 $PROMETHEUS_MULTIPROC_DIR + ENV STARTUP_SCRIPTS="/registrar_pycsw/registrar_pycsw/initialize-collections.sh"