From dbc23617a305b7b65053bc7dfe4a1b62a49e826e Mon Sep 17 00:00:00 2001 From: "LORENZO\\pacio" Date: Mon, 14 Jul 2025 14:15:29 +0200 Subject: [PATCH] packages aggiuntivi --- tomcat/Dockerfile | 21 ++++++++++++++++++--- tomcat/Dockerfile_infinity24 | 16 ++++++++++++++++ 2 files changed, 34 insertions(+), 3 deletions(-) diff --git a/tomcat/Dockerfile b/tomcat/Dockerfile index 59a314f..1ba3477 100644 --- a/tomcat/Dockerfile +++ b/tomcat/Dockerfile @@ -1,4 +1,4 @@ -FROM tomcat:9.0.106-jdk17 +FROM tomcat:9.0.107-jdk17 # Define arguments for the group and user IDs ARG USER_ID @@ -13,10 +13,25 @@ RUN groupadd -g ${GROUP_ID} ${GROUPNAME} && useradd --no-log-init -u ${USER_ID} # 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, including ping, telnet, openssl, and CA certificates, and clean up -RUN apt-get update && apt-get install -y iputils-ping inetutils-telnet openssl ca-certificates +# Installa tool di rete e diagnostica +RUN apt-get update && apt-get install -y \ + iputils-ping \ + inetutils-telnet \ + dnsutils \ + net-tools \ + curl \ + wget \ + traceroute \ + tcpdump \ + nmap \ + iproute2 \ + openssl \ + ca-certificates \ + && apt-get clean && rm -rf /var/lib/apt/lists/* + # SOLO SE RICHIESTO PER infinity dms converter #RUN apt-get install libreoffice + RUN apt-get clean && rm -rf /var/lib/apt/lists/* # CONFIG diff --git a/tomcat/Dockerfile_infinity24 b/tomcat/Dockerfile_infinity24 index c59c063..0a5272b 100644 --- a/tomcat/Dockerfile_infinity24 +++ b/tomcat/Dockerfile_infinity24 @@ -10,6 +10,22 @@ ARG GROUPNAME RUN groupadd -g ${GROUP_ID} ${GROUPNAME} && \ useradd --no-log-init -u ${USER_ID} -g ${GROUP_ID} -m ${USERNAME} || true +# Installa tool di rete e diagnostica +RUN apt-get update && apt-get install -y \ + iputils-ping \ + inetutils-telnet \ + dnsutils \ + net-tools \ + curl \ + wget \ + traceroute \ + tcpdump \ + nmap \ + iproute2 \ + openssl \ + ca-certificates \ + && apt-get clean && rm -rf /var/lib/apt/lists/* + # CONFIG #COPY ./conf/catalina.properties /usr/local/tomcat/conf/catalina.properties COPY ./conf/context.xml /usr/local/tomcat/conf/context.xml