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