annotate tomcat-17/Dockerfile @ 487:65a6d2f3f857

USASR-5154 removed keys
author belknapSSDT <zach.belknap@mcoecn.org>
date Fri, 29 Sep 2023 09:17:27 -0400
parents 0da59b4223b3
children b7d2ce303401
rev   line source
486
0da59b4223b3 USASR-5154 bumped up version
belknapSSDT <zach.belknap@mcoecn.org>
parents: 485
diff changeset
1 FROM tomcat:9.0.80-jre17
4
b5534ea9a4cb initial tomcat dockerfile
smith@nwoca.org
parents:
diff changeset
2
428
2a6846bde6ff USASR-5154 updated maintainer
belknapSSDT <zach.belknap@mcoecn.org>
parents: 427
diff changeset
3 MAINTAINER Marc Davis <davis@ssdt-ohio.org>
4
b5534ea9a4cb initial tomcat dockerfile
smith@nwoca.org
parents:
diff changeset
4
487
65a6d2f3f857 USASR-5154 removed keys
belknapSSDT <zach.belknap@mcoecn.org>
parents: 486
diff changeset
5 RUN apt-get update && apt-get install -y gnupg && apt-get install -y apt-transport-https && apt-get install debian-archive-keyring && apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 871920D1991BC93C
443
955953447f5c USASR-5154 moved installs before echos
belknapSSDT <zach.belknap@mcoecn.org>
parents: 442
diff changeset
6
462
95df2c212032 USASR-5154 install libgpm2
belknapSSDT <zach.belknap@mcoecn.org>
parents: 461
diff changeset
7 RUN apt-get update && apt-get install -y x11-common && apt-get install -y libtinfo5 && apt-get install -y libgpm2
450
7c8132960e80 USASR-5154 list keys
belknapSSDT <zach.belknap@mcoecn.org>
parents: 449
diff changeset
8
445
15a263e509ac USASR-5154 export keys before echo
belknapSSDT <zach.belknap@mcoecn.org>
parents: 444
diff changeset
9 RUN 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 \
15a263e509ac USASR-5154 export keys before echo
belknapSSDT <zach.belknap@mcoecn.org>
parents: 444
diff changeset
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
15a263e509ac USASR-5154 export keys before echo
belknapSSDT <zach.belknap@mcoecn.org>
parents: 444
diff changeset
11
448
c8a3c4500d04 USASR-5154 added more keys
belknapSSDT <zach.belknap@mcoecn.org>
parents: 447
diff changeset
12
452
a927ce7a5864 USASR-5154 try stretch
belknapSSDT <zach.belknap@mcoecn.org>
parents: 451
diff changeset
13 RUN echo "deb http://archive.debian.org/debian/ stretch main contrib" > /etc/apt/sources.list \
a927ce7a5864 USASR-5154 try stretch
belknapSSDT <zach.belknap@mcoecn.org>
parents: 451
diff changeset
14 && echo "deb http://archive.debian.org/debian-security/ stretch/updates main contrib" >> /etc/apt/sources.list \
440
2f056eca324e USASR-5154 add keys to tomcat
belknapSSDT <zach.belknap@mcoecn.org>
parents: 433
diff changeset
15 && echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-selections
2f056eca324e USASR-5154 add keys to tomcat
belknapSSDT <zach.belknap@mcoecn.org>
parents: 433
diff changeset
16
442
d79e3e7f9f07 USASR-5154 export keys to new format
belknapSSDT <zach.belknap@mcoecn.org>
parents: 441
diff changeset
17
440
2f056eca324e USASR-5154 add keys to tomcat
belknapSSDT <zach.belknap@mcoecn.org>
parents: 433
diff changeset
18 RUN apt-get update \
115
151bd88f6c56 DEP-12: update tomcat version and ms fonts installer
smith@nwoca.org
parents: 92
diff changeset
19 && apt-get install -y ttf-mscorefonts-installer \
151bd88f6c56 DEP-12: update tomcat version and ms fonts installer
smith@nwoca.org
parents: 92
diff changeset
20 && apt-get clean \
151bd88f6c56 DEP-12: update tomcat version and ms fonts installer
smith@nwoca.org
parents: 92
diff changeset
21 && apt-get autoremove -y \
151bd88f6c56 DEP-12: update tomcat version and ms fonts installer
smith@nwoca.org
parents: 92
diff changeset
22 && rm -rf /var/lib/apt/lists/*
151bd88f6c56 DEP-12: update tomcat version and ms fonts installer
smith@nwoca.org
parents: 92
diff changeset
23
117
912933cacd29 DEP-12: add experimental postgres-client to tomcat image
smith@nwoca.org
parents: 115
diff changeset
24 RUN apt-get update \
912933cacd29 DEP-12: add experimental postgres-client to tomcat image
smith@nwoca.org
parents: 115
diff changeset
25 && apt-get install -y postgresql-client \
912933cacd29 DEP-12: add experimental postgres-client to tomcat image
smith@nwoca.org
parents: 115
diff changeset
26 && apt-get clean \
912933cacd29 DEP-12: add experimental postgres-client to tomcat image
smith@nwoca.org
parents: 115
diff changeset
27 && apt-get autoremove -y \
912933cacd29 DEP-12: add experimental postgres-client to tomcat image
smith@nwoca.org
parents: 115
diff changeset
28 && rm -rf /var/lib/apt/lists/*
912933cacd29 DEP-12: add experimental postgres-client to tomcat image
smith@nwoca.org
parents: 115
diff changeset
29
9
b65e777478f3 remove admin script from image
smith@nwoca.org
parents: 7
diff changeset
30 WORKDIR /usr/local/tomcat
5
9b74645ce4a4 add setenv file
smith@nwoca.org
parents: 4
diff changeset
31
9
b65e777478f3 remove admin script from image
smith@nwoca.org
parents: 7
diff changeset
32 COPY setenv.sh bin/
92
120fc16ea511 USASR-2388: update tomcat. customize logging. disable autodepoy.
smith@nwoca.org
parents: 81
diff changeset
33 COPY tomcat-users.xml server.xml context.xml logging.properties conf/
5
9b74645ce4a4 add setenv file
smith@nwoca.org
parents: 4
diff changeset
34
9
b65e777478f3 remove admin script from image
smith@nwoca.org
parents: 7
diff changeset
35 RUN rm -rf webapps/docs webapps/ROOT webapps/examples webapps/docs webapps/host-manager \
b65e777478f3 remove admin script from image
smith@nwoca.org
parents: 7
diff changeset
36 && chmod +x bin/setenv.sh
81
53671513b240 DEP-10: add timezone and locale settings. add java base image. add native APR for tomcat
smith@nwoca.org
parents: 23
diff changeset
37
53671513b240 DEP-10: add timezone and locale settings. add java base image. add native APR for tomcat
smith@nwoca.org
parents: 23
diff changeset
38 ENV TZ=America/New_York