Mercurial > public > ssdt-docker
annotate tomcat-17/Dockerfile @ 452:a927ce7a5864
USASR-5154 try stretch
author | belknapSSDT <zach.belknap@mcoecn.org> |
---|---|
date | Wed, 27 Sep 2023 17:03:11 -0400 |
parents | 4fafbb9b743b |
children | 1f6565ed9382 |
rev | line source |
---|---|
427
2201156ad763
USASR-5154 added tomcat for java 17
belknapSSDT <zach.belknap@mcoecn.org>
parents:
289
diff
changeset
|
1 FROM tomcat:8.5.93-jre17 |
4 | 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 | 4 |
448
c8a3c4500d04
USASR-5154 added more keys
belknapSSDT <zach.belknap@mcoecn.org>
parents:
447
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 9D6D8F6BC857C906 \ |
450 | 6 && apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys AA8E81B4331F7F50 && apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 8B48AD6246925553 \ |
7 && apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 7638D0442B90D010 && apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CBF8D6FD518E17E1 \ | |
447
7ef9e88e34b7
USASR-5154 added more keys
belknapSSDT <zach.belknap@mcoecn.org>
parents:
446
diff
changeset
|
8 && 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
|
9 |
451 | 10 RUN apt-key list |
450 | 11 |
445
15a263e509ac
USASR-5154 export keys before echo
belknapSSDT <zach.belknap@mcoecn.org>
parents:
444
diff
changeset
|
12 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
|
13 && 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
|
14 |
448
c8a3c4500d04
USASR-5154 added more keys
belknapSSDT <zach.belknap@mcoecn.org>
parents:
447
diff
changeset
|
15 RUN apt-get install debian-archive-keyring && apt-key update |
c8a3c4500d04
USASR-5154 added more keys
belknapSSDT <zach.belknap@mcoecn.org>
parents:
447
diff
changeset
|
16 |
452
a927ce7a5864
USASR-5154 try stretch
belknapSSDT <zach.belknap@mcoecn.org>
parents:
451
diff
changeset
|
17 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
|
18 && 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
|
19 && 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
|
20 |
442
d79e3e7f9f07
USASR-5154 export keys to new format
belknapSSDT <zach.belknap@mcoecn.org>
parents:
441
diff
changeset
|
21 |
440
2f056eca324e
USASR-5154 add keys to tomcat
belknapSSDT <zach.belknap@mcoecn.org>
parents:
433
diff
changeset
|
22 RUN apt-get update \ |
115
151bd88f6c56
DEP-12: update tomcat version and ms fonts installer
smith@nwoca.org
parents:
92
diff
changeset
|
23 && apt-get install -y ttf-mscorefonts-installer \ |
151bd88f6c56
DEP-12: update tomcat version and ms fonts installer
smith@nwoca.org
parents:
92
diff
changeset
|
24 && apt-get clean \ |
151bd88f6c56
DEP-12: update tomcat version and ms fonts installer
smith@nwoca.org
parents:
92
diff
changeset
|
25 && apt-get autoremove -y \ |
151bd88f6c56
DEP-12: update tomcat version and ms fonts installer
smith@nwoca.org
parents:
92
diff
changeset
|
26 && rm -rf /var/lib/apt/lists/* |
151bd88f6c56
DEP-12: update tomcat version and ms fonts installer
smith@nwoca.org
parents:
92
diff
changeset
|
27 |
117
912933cacd29
DEP-12: add experimental postgres-client to tomcat image
smith@nwoca.org
parents:
115
diff
changeset
|
28 RUN apt-get update \ |
912933cacd29
DEP-12: add experimental postgres-client to tomcat image
smith@nwoca.org
parents:
115
diff
changeset
|
29 && apt-get install -y postgresql-client \ |
912933cacd29
DEP-12: add experimental postgres-client to tomcat image
smith@nwoca.org
parents:
115
diff
changeset
|
30 && apt-get clean \ |
912933cacd29
DEP-12: add experimental postgres-client to tomcat image
smith@nwoca.org
parents:
115
diff
changeset
|
31 && apt-get autoremove -y \ |
912933cacd29
DEP-12: add experimental postgres-client to tomcat image
smith@nwoca.org
parents:
115
diff
changeset
|
32 && rm -rf /var/lib/apt/lists/* |
912933cacd29
DEP-12: add experimental postgres-client to tomcat image
smith@nwoca.org
parents:
115
diff
changeset
|
33 |
9 | 34 WORKDIR /usr/local/tomcat |
5 | 35 |
9 | 36 COPY setenv.sh bin/ |
92
120fc16ea511
USASR-2388: update tomcat. customize logging. disable autodepoy.
smith@nwoca.org
parents:
81
diff
changeset
|
37 COPY tomcat-users.xml server.xml context.xml logging.properties conf/ |
5 | 38 |
9 | 39 RUN rm -rf webapps/docs webapps/ROOT webapps/examples webapps/docs webapps/host-manager \ |
40 && 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
|
41 |
53671513b240
DEP-10: add timezone and locale settings. add java base image. add native APR for tomcat
smith@nwoca.org
parents:
23
diff
changeset
|
42 ENV TZ=America/New_York |