Mercurial > public > ssdt-docker
annotate tomcat-17/Dockerfile @ 546:2bf2426777c8
add exports for xml printing
author | belknapSSDT <zach.belknap@mcoecn.org> |
---|---|
date | Wed, 22 May 2024 23:54:36 -0400 |
parents | 24df9eac01a3 |
children | f346f19e322a |
rev | line source |
---|---|
541
70bdc4e8131e
update tomcat version
belknapSSDT <zach.belknap@mcoecn.org>
parents:
508
diff
changeset
|
1 FROM tomcat:8.5.100-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 |
546
2bf2426777c8
add exports for xml printing
belknapSSDT <zach.belknap@mcoecn.org>
parents:
545
diff
changeset
|
5 SHELL ["cmd", "--add-exports=java.xml/com.sun.org.apache.xml.internal.serialize=ALL-UNNAMED"] |
545
24df9eac01a3
add exports for xml printing
belknapSSDT <zach.belknap@mcoecn.org>
parents:
544
diff
changeset
|
6 |
507
0f62d58b0263
USASR-5154 remove listing
belknapSSDT <zach.belknap@mcoecn.org>
parents:
506
diff
changeset
|
7 RUN apt-get update && apt-get install -y gnupg && apt-get install -y apt-transport-https \ |
495
ee980c0dc774
USASR-5154 try adding to sources.list
belknapSSDT <zach.belknap@mcoecn.org>
parents:
494
diff
changeset
|
8 && 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 \ |
494
d3c2c169e8eb
USASR-5154 try adding to sources.list
belknapSSDT <zach.belknap@mcoecn.org>
parents:
493
diff
changeset
|
9 && 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 \ |
d3c2c169e8eb
USASR-5154 try adding to sources.list
belknapSSDT <zach.belknap@mcoecn.org>
parents:
493
diff
changeset
|
10 && apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 871920D1991BC93C && apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 112695A0E562B32A \ |
d3c2c169e8eb
USASR-5154 try adding to sources.list
belknapSSDT <zach.belknap@mcoecn.org>
parents:
493
diff
changeset
|
11 && apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys AA8E81B4331F7F50 && apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 04EE7237B7D453EC 648ACFD622F3D138 0E98404D386FA1D9 EF0F382A1A7B6500 |
443
955953447f5c
USASR-5154 moved installs before echos
belknapSSDT <zach.belknap@mcoecn.org>
parents:
442
diff
changeset
|
12 |
508
02a26189f689
USASR-5154 remove install
belknapSSDT <zach.belknap@mcoecn.org>
parents:
507
diff
changeset
|
13 RUN apt-get update && apt-get install -y x11-common |
450 | 14 |
505
44670d46da7b
USASR-5154 try buster
belknapSSDT <zach.belknap@mcoecn.org>
parents:
504
diff
changeset
|
15 RUN echo "deb http://deb.debian.org/debian buster main contrib non-free" > /etc/apt/sources.list \ |
44670d46da7b
USASR-5154 try buster
belknapSSDT <zach.belknap@mcoecn.org>
parents:
504
diff
changeset
|
16 && echo "deb http://security.debian.org/debian-security/ buster/updates main contrib" >> /etc/apt/sources.list \ |
440
2f056eca324e
USASR-5154 add keys to tomcat
belknapSSDT <zach.belknap@mcoecn.org>
parents:
433
diff
changeset
|
17 && 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
|
18 |
442
d79e3e7f9f07
USASR-5154 export keys to new format
belknapSSDT <zach.belknap@mcoecn.org>
parents:
441
diff
changeset
|
19 |
440
2f056eca324e
USASR-5154 add keys to tomcat
belknapSSDT <zach.belknap@mcoecn.org>
parents:
433
diff
changeset
|
20 RUN apt-get update \ |
115
151bd88f6c56
DEP-12: update tomcat version and ms fonts installer
smith@nwoca.org
parents:
92
diff
changeset
|
21 && apt-get install -y ttf-mscorefonts-installer \ |
151bd88f6c56
DEP-12: update tomcat version and ms fonts installer
smith@nwoca.org
parents:
92
diff
changeset
|
22 && apt-get clean \ |
151bd88f6c56
DEP-12: update tomcat version and ms fonts installer
smith@nwoca.org
parents:
92
diff
changeset
|
23 && apt-get autoremove -y \ |
151bd88f6c56
DEP-12: update tomcat version and ms fonts installer
smith@nwoca.org
parents:
92
diff
changeset
|
24 && rm -rf /var/lib/apt/lists/* |
499
d51e12ec50cd
USASR-5154 remove postgres install
belknapSSDT <zach.belknap@mcoecn.org>
parents:
498
diff
changeset
|
25 |
500
d1b34e29916f
USASR-5154 install libinfo
belknapSSDT <zach.belknap@mcoecn.org>
parents:
499
diff
changeset
|
26 RUN apt-get update \ |
506
cabf3353a359
USASR-5154 remove force
belknapSSDT <zach.belknap@mcoecn.org>
parents:
505
diff
changeset
|
27 && apt-get install -y postgresql-client \ |
500
d1b34e29916f
USASR-5154 install libinfo
belknapSSDT <zach.belknap@mcoecn.org>
parents:
499
diff
changeset
|
28 && apt-get clean \ |
d1b34e29916f
USASR-5154 install libinfo
belknapSSDT <zach.belknap@mcoecn.org>
parents:
499
diff
changeset
|
29 && apt-get autoremove -y \ |
d1b34e29916f
USASR-5154 install libinfo
belknapSSDT <zach.belknap@mcoecn.org>
parents:
499
diff
changeset
|
30 && rm -rf /var/lib/apt/lists/* |
117
912933cacd29
DEP-12: add experimental postgres-client to tomcat image
smith@nwoca.org
parents:
115
diff
changeset
|
31 |
544
8372ac13670e
add exports for xml printing
belknapSSDT <zach.belknap@mcoecn.org>
parents:
543
diff
changeset
|
32 |
543
90e2e72fc44f
add exports for xml printing
belknapSSDT <zach.belknap@mcoecn.org>
parents:
541
diff
changeset
|
33 RUN ["--add-exports=java.xml/com.sun.org.apache.xml.internal.serialize=ALL-UNNAMED"] |
90e2e72fc44f
add exports for xml printing
belknapSSDT <zach.belknap@mcoecn.org>
parents:
541
diff
changeset
|
34 |
9 | 35 WORKDIR /usr/local/tomcat |
5 | 36 |
9 | 37 COPY setenv.sh bin/ |
92
120fc16ea511
USASR-2388: update tomcat. customize logging. disable autodepoy.
smith@nwoca.org
parents:
81
diff
changeset
|
38 COPY tomcat-users.xml server.xml context.xml logging.properties conf/ |
5 | 39 |
9 | 40 RUN rm -rf webapps/docs webapps/ROOT webapps/examples webapps/docs webapps/host-manager \ |
41 && 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
|
42 |
53671513b240
DEP-10: add timezone and locale settings. add java base image. add native APR for tomcat
smith@nwoca.org
parents:
23
diff
changeset
|
43 ENV TZ=America/New_York |