view tomcat/Dockerfile @ 19:ebeaedb20e88

DEP-7: change local volumes to use PWD rather than relative to template
author Dave smith <smith@nwoca.org>
date Sun, 27 Dec 2015 18:23:31 -0500
parents cbaf2e9ca770
children 6a4ba408b8c4
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/

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