packages aggiuntivi
This commit is contained in:
parent
1ef054b37a
commit
dbc23617a3
@ -1,4 +1,4 @@
|
|||||||
FROM tomcat:9.0.106-jdk17
|
FROM tomcat:9.0.107-jdk17
|
||||||
|
|
||||||
# Define arguments for the group and user IDs
|
# Define arguments for the group and user IDs
|
||||||
ARG USER_ID
|
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
|
# 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
|
# 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
|
# Installa tool di rete e diagnostica
|
||||||
RUN apt-get update && apt-get install -y iputils-ping inetutils-telnet openssl ca-certificates
|
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
|
# SOLO SE RICHIESTO PER infinity dms converter
|
||||||
#RUN apt-get install libreoffice
|
#RUN apt-get install libreoffice
|
||||||
|
|
||||||
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
|
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# CONFIG
|
# CONFIG
|
||||||
|
|||||||
@ -10,6 +10,22 @@ ARG GROUPNAME
|
|||||||
RUN groupadd -g ${GROUP_ID} ${GROUPNAME} && \
|
RUN groupadd -g ${GROUP_ID} ${GROUPNAME} && \
|
||||||
useradd --no-log-init -u ${USER_ID} -g ${GROUP_ID} -m ${USERNAME} || true
|
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
|
# CONFIG
|
||||||
#COPY ./conf/catalina.properties /usr/local/tomcat/conf/catalina.properties
|
#COPY ./conf/catalina.properties /usr/local/tomcat/conf/catalina.properties
|
||||||
COPY ./conf/context.xml /usr/local/tomcat/conf/context.xml
|
COPY ./conf/context.xml /usr/local/tomcat/conf/context.xml
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user