commentati pacchetti non obbligatori (libreoffice)

This commit is contained in:
LORENZO\pacio 2025-01-23 12:26:21 +01:00
parent cda7ab1c50
commit fc955f4333

View File

@ -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}