view tomcat/Dockerfile @ 75:aa2fd199ba56

improve pid2name script
author smith@nwoca.org
date Wed, 23 Mar 2016 16:39:31 +0100
parents 6a4ba408b8c4
children 53671513b240
line wrap: on
line source
FROM tomcat:8.0.30-jre8

MAINTAINER Dave Smith <smith@nwoca.org>

RUN echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-selections \
	&& echo 'deb http://httpredir.debian.org/debian jessie contrib' > /etc/apt/sources.list.d/jessie-contrib.list \
    && apt-get update 									\
    && apt-get install -y ttf-mscorefonts-installer

WORKDIR /usr/local/tomcat

COPY setenv.sh bin/
COPY tomcat-users.xml server.xml context.xml conf/

RUN rm -rf webapps/docs webapps/ROOT webapps/examples webapps/docs webapps/host-manager \
	&& chmod +x bin/setenv.sh