annotate tomcat/Dockerfile @ 114:a113282d9400

DEP-12: update java version and fix ms fonts installer
author smith@nwoca.org
date Thu, 27 Apr 2017 15:33:00 -0400
parents 120fc16ea511
children 151bd88f6c56
rev   line source
92
120fc16ea511 USASR-2388: update tomcat. customize logging. disable autodepoy.
smith@nwoca.org
parents: 81
diff changeset
1 FROM tomcat:8.5.5-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
12
cbaf2e9ca770 DEP-7: install ms ttf fonts for jasper
smith@nwoca.org
parents: 9
diff changeset
5 RUN echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-selections \
cbaf2e9ca770 DEP-7: install ms ttf fonts for jasper
smith@nwoca.org
parents: 9
diff changeset
6 && echo 'deb http://httpredir.debian.org/debian jessie contrib' > /etc/apt/sources.list.d/jessie-contrib.list \
cbaf2e9ca770 DEP-7: install ms ttf fonts for jasper
smith@nwoca.org
parents: 9
diff changeset
7 && apt-get update \
cbaf2e9ca770 DEP-7: install ms ttf fonts for jasper
smith@nwoca.org
parents: 9
diff changeset
8 && apt-get install -y ttf-mscorefonts-installer
cbaf2e9ca770 DEP-7: install ms ttf fonts for jasper
smith@nwoca.org
parents: 9
diff changeset
9
9
b65e777478f3 remove admin script from image
smith@nwoca.org
parents: 7
diff changeset
10 WORKDIR /usr/local/tomcat
5
9b74645ce4a4 add setenv file
smith@nwoca.org
parents: 4
diff changeset
11
9
b65e777478f3 remove admin script from image
smith@nwoca.org
parents: 7
diff changeset
12 COPY setenv.sh bin/
92
120fc16ea511 USASR-2388: update tomcat. customize logging. disable autodepoy.
smith@nwoca.org
parents: 81
diff changeset
13 COPY tomcat-users.xml server.xml context.xml logging.properties conf/
5
9b74645ce4a4 add setenv file
smith@nwoca.org
parents: 4
diff changeset
14
9
b65e777478f3 remove admin script from image
smith@nwoca.org
parents: 7
diff changeset
15 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
16 && 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
17
53671513b240 DEP-10: add timezone and locale settings. add java base image. add native APR for tomcat
smith@nwoca.org
parents: 23
diff changeset
18 ENV TZ=America/New_York
53671513b240 DEP-10: add timezone and locale settings. add java base image. add native APR for tomcat
smith@nwoca.org
parents: 23
diff changeset
19
53671513b240 DEP-10: add timezone and locale settings. add java base image. add native APR for tomcat
smith@nwoca.org
parents: 23
diff changeset
20 ENV LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:/usr/lib/x86_64-linux-gnu/
53671513b240 DEP-10: add timezone and locale settings. add java base image. add native APR for tomcat
smith@nwoca.org
parents: 23
diff changeset
21
92
120fc16ea511 USASR-2388: update tomcat. customize logging. disable autodepoy.
smith@nwoca.org
parents: 81
diff changeset
22 RUN apt-get install -y libtcnative-1