annotate tomcat/Dockerfile @ 51:40e10b1d32f7

add script to apply image updates to compose projects
author Dave smith <smith@nwoca.org>
date Mon, 22 Feb 2016 17:32:57 -0500
parents 6a4ba408b8c4
children 53671513b240
rev   line source
9
b65e777478f3 remove admin script from image
smith@nwoca.org
parents: 7
diff changeset
1 FROM tomcat:8.0.30-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