diff --git a/tomcat/Dockerfile b/tomcat/Dockerfile index 1cf4373..dcad1d6 100644 --- a/tomcat/Dockerfile +++ b/tomcat/Dockerfile @@ -7,8 +7,11 @@ ARG USERNAME ARG GROUPNAME # Create group and user with IDs passed from Docker Compose -RUN groupadd -g ${GROUP_ID} ${GROUPNAME} && \ - useradd --no-log-init -u ${USER_ID} -g ${GROUP_ID} -m ${USERNAME} || true +RUN groupadd -g ${GROUP_ID} ${GROUPNAME} && useradd --no-log-init -u ${USER_ID} -g ${GROUP_ID} -m ${USERNAME} || true + +#SUPPORTO A VERSIONI VECCHIE DI SQL SERVER (ERRORI SSL) +# Check if java.security exists at the correct path and remove any disabled algorithms +#RUN if [ -f /opt/java/openjdk/conf/security/java.security ]; then sed -i '/jdk.tls.disabledAlgorithms/d' /opt/java/openjdk/conf/security/java.security; else echo "java.security file not found"; fi # Install necessary packages and clean up RUN apt-get update && \