Compare commits
2 Commits
e939ca0647
...
8ec202cd42
| Author | SHA1 | Date | |
|---|---|---|---|
| 8ec202cd42 | |||
| fc955f4333 |
@ -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}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user