annotate tomcat/Dockerfile @ 85:8f45c43ea7a4 feature/djs-DEP-12-docker

DEP-12: start upgrading scripts and compose files for RC and docker 1.12
author Dave Smith <smith@nwoca.org>
date Wed, 21 Sep 2016 19:00:41 -0400
parents 53671513b240
children 120fc16ea511
rev   line source
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
1 FROM tomcat:8.0.33-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/
23
6a4ba408b8c4 improve tomcat configuration
smith@nwoca.org
parents: 12
diff changeset
13 COPY tomcat-users.xml server.xml context.xml 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
53671513b240 DEP-10: add timezone and locale settings. add java base image. add native APR for tomcat
smith@nwoca.org
parents: 23
diff changeset
22 RUN apt-get install -y libtcnative-1