rev
This commit is contained in:
parent
54b1568494
commit
d39a99db1b
@ -1,2 +1,2 @@
|
||||
#crea struttura e setta owner
|
||||
sudo chown -R polo:polo tomcat apache
|
||||
sudo useradd -u 20000 ahi
|
||||
sudo chown -R ahi:ahi tomcat
|
||||
@ -1,4 +1,3 @@
|
||||
#FROM tomcat:9.0.89-jdk17
|
||||
FROM tomcat:9.0.97-jdk17
|
||||
|
||||
# Define arguments for the group and user IDs
|
||||
@ -15,15 +14,10 @@ RUN groupadd -g ${GROUP_ID} ${GROUPNAME} && useradd --no-log-init -u ${USER_ID}
|
||||
# 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 \ # For ping
|
||||
inetutils-telnet \ # For telnet
|
||||
openssl \ # For openssl commands
|
||||
ca-certificates \ # For SSL/TLS certificate validation
|
||||
#libreoffice && \ # SOLO SE RICHIESTO PER infinity dms converter
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
RUN apt-get update && apt-get install -y iputils-ping inetutils-telnet openssl ca-certificates
|
||||
# SOLO SE RICHIESTO PER infinity dms converter
|
||||
#RUN apt-get install #libreoffice
|
||||
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# CONFIG
|
||||
COPY ./conf/catalina.properties /usr/local/tomcat/conf/catalina.properties
|
||||
|
||||
Loading…
Reference in New Issue
Block a user