From 65ec75418f0a182ad18b85d196471c23f96751c1 Mon Sep 17 00:00:00 2001 From: Antonio Calanducci Date: Wed, 8 Nov 2023 12:15:59 +0100 Subject: [PATCH] Delete eXist default data dirs and link to NFS ones --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index dcc79b5..5ae46c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,6 +11,9 @@ RUN cp $EXIST_HOME/lib/core/xmldb.jar $GLOBUS_LOCATION/lib RUN cp $EXIST_HOME/lib/core/jta.jar $GLOBUS_LOCATION/lib RUN cp $EXIST_HOME/lib/core/commons-pool-1.4.jar $GLOBUS_LOCATION/lib +RUN rm -fr $EXIST_HOME/webapp/WEB-INF/{data,logs,attachments} +RUN ln -s /gcube-data/db/{data,logs,attachments} $EXIST_HOME/webapp/WEB-INF/ + RUN wget --no-check-certificate https://nexus.d4science.org/nexus/content/repositories/gcube-staging-gcore/org/gcube/informationsystem/is-collector-service/3.0.2-4.15.0-126944/is-collector-service-3.0.2-4.15.0-126944.gar && mv is-collector-service-3.0.2-4.15.0-126944.gar org.gcube.informationsystem.collector.gar && gcore-deploy-service org.gcube.informationsystem.collector.gar ENV GLOBUS_OPTIONS="-Xms2000M -Xmx2000M -Dexist.home=$EXIST_HOME"