Mercurial > public > ssdt-docker
view tomcat/Dockerfile @ 157:018f62da1931
DEP-12: add docker version. prevent pulling updates for dangling images
author | smith@nwoca.org |
---|---|
date | Mon, 31 Jul 2017 20:49:53 +0100 |
parents | 2f794158e9e8 |
children | 1866c261576f |
line wrap: on
line source
FROM tomcat:8.5.14-jre8 MAINTAINER Dave Smith <smith@nwoca.org> RUN echo "deb http://httpredir.debian.org/debian jessie main contrib" > /etc/apt/sources.list \ && echo "deb http://security.debian.org/ jessie/updates main contrib" >> /etc/apt/sources.list \ && echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-selections \ && apt-get update \ && apt-get install -y ttf-mscorefonts-installer \ && apt-get clean \ && apt-get autoremove -y \ && rm -rf /var/lib/apt/lists/* RUN apt-get update \ && apt-get install -y postgresql-client \ && apt-get clean \ && apt-get autoremove -y \ && rm -rf /var/lib/apt/lists/* 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