From fc955f43338679973e037e1529e6616022bf74fb Mon Sep 17 00:00:00 2001 From: "LORENZO\\pacio" Date: Thu, 23 Jan 2025 12:26:21 +0100 Subject: [PATCH] commentati pacchetti non obbligatori (libreoffice) --- tomcat/Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tomcat/Dockerfile b/tomcat/Dockerfile index 268c80c..1176e62 100644 --- a/tomcat/Dockerfile +++ b/tomcat/Dockerfile @@ -20,8 +20,7 @@ RUN apt-get update && \ inetutils-telnet \ # For telnet openssl \ # For openssl commands ca-certificates \ # For SSL/TLS certificate validation - gosu \ # Existing requirement - libreoffice && \ # Existing requirement + #libreoffice && \ # SOLO SE RICHIESTO PER GENERAZIONE DOCX CRM apt-get clean && \ rm -rf /var/lib/apt/lists/* @@ -37,8 +36,8 @@ COPY ./libs/ /usr/local/tomcat/lib/ RUN chown -R ${USERNAME}:${GROUPNAME} /usr/local/tomcat # Ensure the required dconf cache directory exists and has the correct permissions (per libreoffice) -RUN mkdir -p /home/${USERNAME}/.cache/dconf && \ - chown -R ${USERNAME}:${GROUPNAME} /home/${USERNAME}/.cache/dconf +#RUN mkdir -p /home/${USERNAME}/.cache/dconf && \ +# chown -R ${USERNAME}:${GROUPNAME} /home/${USERNAME}/.cache/dconf USER ${USERNAME}