view tomcat/Dockerfile @ 113:40d81a3dd3cc

DEP-12: downgrade to 2.1 format to do missing extends feature in 3.0
author smith@nwoca.org
date Mon, 24 Apr 2017 16:10:57 +0100
parents 120fc16ea511
children 151bd88f6c56
line wrap: on
line source
FROM tomcat:8.5.5-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 logging.properties conf/

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

ENV LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:/usr/lib/x86_64-linux-gnu/

RUN apt-get install -y libtcnative-1