This commit is contained in:
LORENZO\pacio 2025-12-11 16:08:19 +01:00
parent 7da6db550f
commit 27c6f49c51

View File

@ -13,21 +13,19 @@ 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
# Installa tool di rete e diagnostica # Networking tools + MS core fonts (Times New Roman) in one layer
RUN apt-get update && apt-get install -y \ RUN set -eux; \
iputils-ping \ # Enable contrib/non-free (needed for ttf-mscorefonts-installer on Debian)
inetutils-telnet \ sed -ri 's/^deb (.*) main$/deb \1 main contrib non-free non-free-firmware/' /etc/apt/sources.list || true; \
dnsutils \ apt-get update; \
net-tools \ apt-get install -y --no-install-recommends \
curl \ iputils-ping inetutils-telnet dnsutils net-tools curl wget traceroute tcpdump nmap iproute2 \
wget \ openssl ca-certificates gnupg \
traceroute \ fontconfig cabextract xfonts-utils debconf; \
tcpdump \ echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-selections; \
nmap \ apt-get install -y --no-install-recommends ttf-mscorefonts-installer; \
iproute2 \ fc-cache -fv; \
openssl \ rm -rf /var/lib/apt/lists/*
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