annotate tomcat/Dockerfile @ 397:886a7dc796b8

INV-197 make display of IRN conditional as workflowdb has no access to this property
author Matt Calmes <calmes@ssdt-ohio.org>
date Thu, 28 Oct 2021 07:50:01 -0400
parents b0b52c426f16
children 4b026170dfea
rev   line source
289
b0b52c426f16 DEP-16: update tomcat, java and postgres version
smith@nwoca.org
parents: 256
diff changeset
1 FROM tomcat:8.5.37-jre8
4
b5534ea9a4cb initial tomcat dockerfile
smith@nwoca.org
parents:
diff changeset
2
b5534ea9a4cb initial tomcat dockerfile
smith@nwoca.org
parents:
diff changeset
3 MAINTAINER Dave Smith <smith@nwoca.org>
b5534ea9a4cb initial tomcat dockerfile
smith@nwoca.org
parents:
diff changeset
4
115
151bd88f6c56 DEP-12: update tomcat version and ms fonts installer
smith@nwoca.org
parents: 92
diff changeset
5 RUN echo "deb http://httpredir.debian.org/debian jessie main contrib" > /etc/apt/sources.list \
151bd88f6c56 DEP-12: update tomcat version and ms fonts installer
smith@nwoca.org
parents: 92
diff changeset
6 && echo "deb http://security.debian.org/ jessie/updates main contrib" >> /etc/apt/sources.list \
151bd88f6c56 DEP-12: update tomcat version and ms fonts installer
smith@nwoca.org
parents: 92
diff changeset
7 && echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-selections \
151bd88f6c56 DEP-12: update tomcat version and ms fonts installer
smith@nwoca.org
parents: 92
diff changeset
8 && apt-get update \
151bd88f6c56 DEP-12: update tomcat version and ms fonts installer
smith@nwoca.org
parents: 92
diff changeset
9 && apt-get install -y ttf-mscorefonts-installer \
151bd88f6c56 DEP-12: update tomcat version and ms fonts installer
smith@nwoca.org
parents: 92
diff changeset
10 && apt-get clean \
151bd88f6c56 DEP-12: update tomcat version and ms fonts installer
smith@nwoca.org
parents: 92
diff changeset
11 && apt-get autoremove -y \
151bd88f6c56 DEP-12: update tomcat version and ms fonts installer
smith@nwoca.org
parents: 92
diff changeset
12 && rm -rf /var/lib/apt/lists/*
151bd88f6c56 DEP-12: update tomcat version and ms fonts installer
smith@nwoca.org
parents: 92
diff changeset
13
117
912933cacd29 DEP-12: add experimental postgres-client to tomcat image
smith@nwoca.org
parents: 115
diff changeset
14 RUN apt-get update \
912933cacd29 DEP-12: add experimental postgres-client to tomcat image
smith@nwoca.org
parents: 115
diff changeset
15 && apt-get install -y postgresql-client \
912933cacd29 DEP-12: add experimental postgres-client to tomcat image
smith@nwoca.org
parents: 115
diff changeset
16 && apt-get clean \
912933cacd29 DEP-12: add experimental postgres-client to tomcat image
smith@nwoca.org
parents: 115
diff changeset
17 && apt-get autoremove -y \
912933cacd29 DEP-12: add experimental postgres-client to tomcat image
smith@nwoca.org
parents: 115
diff changeset
18 && rm -rf /var/lib/apt/lists/*
912933cacd29 DEP-12: add experimental postgres-client to tomcat image
smith@nwoca.org
parents: 115
diff changeset
19
9
b65e777478f3 remove admin script from image
smith@nwoca.org
parents: 7
diff changeset
20 WORKDIR /usr/local/tomcat
5
9b74645ce4a4 add setenv file
smith@nwoca.org
parents: 4
diff changeset
21
9
b65e777478f3 remove admin script from image
smith@nwoca.org
parents: 7
diff changeset
22 COPY setenv.sh bin/
92
120fc16ea511 USASR-2388: update tomcat. customize logging. disable autodepoy.
smith@nwoca.org
parents: 81
diff changeset
23 COPY tomcat-users.xml server.xml context.xml logging.properties conf/
5
9b74645ce4a4 add setenv file
smith@nwoca.org
parents: 4
diff changeset
24
9
b65e777478f3 remove admin script from image
smith@nwoca.org
parents: 7
diff changeset
25 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
26 && 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
27
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 ENV TZ=America/New_York