Mercurial > public > ssdt-docker
annotate tomcat/Dockerfile @ 555:eae4a6205738
remove onbuild
author | belknapSSDT <zach.belknap@mcoecn.org> |
---|---|
date | Thu, 23 May 2024 12:11:06 -0400 |
parents | 4b026170dfea |
children |
rev | line source |
---|---|
527
4b026170dfea
SC-327: update tomcat image to 8.5.51
Robin Fronk <robin.fronk@mcoecn.org>
parents:
289
diff
changeset
|
1 FROM tomcat:8.5.51-jdk8 |
4 | 2 |
3 MAINTAINER Dave Smith <smith@nwoca.org> | |
4 | |
527
4b026170dfea
SC-327: update tomcat image to 8.5.51
Robin Fronk <robin.fronk@mcoecn.org>
parents:
289
diff
changeset
|
5 RUN echo "deb http://deb.debian.org/debian buster main contrib non-free" > /etc/apt/sources.list \ |
4b026170dfea
SC-327: update tomcat image to 8.5.51
Robin Fronk <robin.fronk@mcoecn.org>
parents:
289
diff
changeset
|
6 && echo "deb http://security.debian.org/debian-security/ buster/updates main contrib" >> /etc/apt/sources.list \ |
4b026170dfea
SC-327: update tomcat image to 8.5.51
Robin Fronk <robin.fronk@mcoecn.org>
parents:
289
diff
changeset
|
7 && echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-selections |
4b026170dfea
SC-327: update tomcat image to 8.5.51
Robin Fronk <robin.fronk@mcoecn.org>
parents:
289
diff
changeset
|
8 |
4b026170dfea
SC-327: update tomcat image to 8.5.51
Robin Fronk <robin.fronk@mcoecn.org>
parents:
289
diff
changeset
|
9 RUN apt-get update \ |
115
151bd88f6c56
DEP-12: update tomcat version and ms fonts installer
smith@nwoca.org
parents:
92
diff
changeset
|
10 && apt-get install -y ttf-mscorefonts-installer \ |
151bd88f6c56
DEP-12: update tomcat version and ms fonts installer
smith@nwoca.org
parents:
92
diff
changeset
|
11 && apt-get clean \ |
151bd88f6c56
DEP-12: update tomcat version and ms fonts installer
smith@nwoca.org
parents:
92
diff
changeset
|
12 && apt-get autoremove -y \ |
151bd88f6c56
DEP-12: update tomcat version and ms fonts installer
smith@nwoca.org
parents:
92
diff
changeset
|
13 && rm -rf /var/lib/apt/lists/* |
151bd88f6c56
DEP-12: update tomcat version and ms fonts installer
smith@nwoca.org
parents:
92
diff
changeset
|
14 |
117
912933cacd29
DEP-12: add experimental postgres-client to tomcat image
smith@nwoca.org
parents:
115
diff
changeset
|
15 RUN apt-get update \ |
912933cacd29
DEP-12: add experimental postgres-client to tomcat image
smith@nwoca.org
parents:
115
diff
changeset
|
16 && apt-get install -y postgresql-client \ |
912933cacd29
DEP-12: add experimental postgres-client to tomcat image
smith@nwoca.org
parents:
115
diff
changeset
|
17 && apt-get clean \ |
912933cacd29
DEP-12: add experimental postgres-client to tomcat image
smith@nwoca.org
parents:
115
diff
changeset
|
18 && apt-get autoremove -y \ |
912933cacd29
DEP-12: add experimental postgres-client to tomcat image
smith@nwoca.org
parents:
115
diff
changeset
|
19 && rm -rf /var/lib/apt/lists/* |
912933cacd29
DEP-12: add experimental postgres-client to tomcat image
smith@nwoca.org
parents:
115
diff
changeset
|
20 |
9 | 21 WORKDIR /usr/local/tomcat |
5 | 22 |
9 | 23 COPY setenv.sh bin/ |
92
120fc16ea511
USASR-2388: update tomcat. customize logging. disable autodepoy.
smith@nwoca.org
parents:
81
diff
changeset
|
24 COPY tomcat-users.xml server.xml context.xml logging.properties conf/ |
5 | 25 |
9 | 26 RUN rm -rf webapps/docs webapps/ROOT webapps/examples webapps/docs webapps/host-manager \ |
27 && 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
|
28 |
53671513b240
DEP-10: add timezone and locale settings. add java base image. add native APR for tomcat
smith@nwoca.org
parents:
23
diff
changeset
|
29 ENV TZ=America/New_York |