packages aggiuntivi

This commit is contained in:
LORENZO\pacio 2025-07-14 14:15:29 +02:00
parent 1ef054b37a
commit dbc23617a3
2 changed files with 34 additions and 3 deletions

View File

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

View File

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