comparison tomcat-17/Dockerfile @ 548:a2f2776d4628

removed commands
author belknapSSDT <zach.belknap@mcoecn.org>
date Thu, 23 May 2024 10:03:04 -0400
parents f346f19e322a
children 67c28d5e7904
comparison
equal deleted inserted replaced
547:f346f19e322a 548:a2f2776d4628
1 FROM tomcat:8.5.100-jre17 1 FROM tomcat:8.5.100-jre17
2 2
3 MAINTAINER Marc Davis <davis@ssdt-ohio.org> 3 MAINTAINER Marc Davis <davis@ssdt-ohio.org>
4 4
5 SHELL ["cmd", "/S", "/C"]
6 RUN --add-exports=java.xml/com.sun.org.apache.xml.internal.serialize=ALL-UNNAMED
7 5
8 RUN apt-get update && apt-get install -y gnupg && apt-get install -y apt-transport-https \ 6 RUN apt-get update && apt-get install -y gnupg && apt-get install -y apt-transport-https \
9 && gpg --no-default-keyring --keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg --export > /etc/apt/trusted.gpg.d/ubuntu-keyring.fixed.gpg \ 7 && gpg --no-default-keyring --keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg --export > /etc/apt/trusted.gpg.d/ubuntu-keyring.fixed.gpg \
10 && gpg --no-default-keyring --keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg --export > /etc/apt/trusted.gpg.d/ubuntu-keyring.fixed.gpg \ 8 && gpg --no-default-keyring --keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg --export > /etc/apt/trusted.gpg.d/ubuntu-keyring.fixed.gpg \
11 apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 871920D1991BC93C 112695A0E562B32A AA8E81B4331F7F50 04EE7237B7D453EC 648ACFD622F3D138 0E98404D386FA1D9 EF0F382A1A7B6500 9 apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 871920D1991BC93C 112695A0E562B32A AA8E81B4331F7F50 04EE7237B7D453EC 648ACFD622F3D138 0E98404D386FA1D9 EF0F382A1A7B6500
27 && apt-get install -y postgresql-client \ 25 && apt-get install -y postgresql-client \
28 && apt-get clean \ 26 && apt-get clean \
29 && apt-get autoremove -y \ 27 && apt-get autoremove -y \
30 && rm -rf /var/lib/apt/lists/* 28 && rm -rf /var/lib/apt/lists/*
31 29
32 SHELL ["cmd", "--add-exports=java.xml/com.sun.org.apache.xml.internal.serialize=ALL-UNNAMED"]
33 30
34 WORKDIR /usr/local/tomcat 31 WORKDIR /usr/local/tomcat
35 32
36 COPY setenv.sh bin/ 33 COPY setenv.sh bin/
37 COPY tomcat-users.xml server.xml context.xml logging.properties conf/ 34 COPY tomcat-users.xml server.xml context.xml logging.properties conf/