comparison tomcat/Dockerfile @ 163:daf91a3bbee5 production v1.2.0

flow: Merged <release> 'v1.2.0' to <master> ('production').
author smith@nwoca.org
date Tue, 15 Aug 2017 21:59:23 +0100
parents 2f794158e9e8
children 1866c261576f
comparison
equal deleted inserted replaced
141:06611703da29 163:daf91a3bbee5
1 FROM tomcat:8.5.5-jre8 1 FROM tomcat:8.5.14-jre8
2 2
3 MAINTAINER Dave Smith <smith@nwoca.org> 3 MAINTAINER Dave Smith <smith@nwoca.org>
4 4
5 RUN echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-selections \ 5 RUN echo "deb http://httpredir.debian.org/debian jessie main contrib" > /etc/apt/sources.list \
6 && echo 'deb http://httpredir.debian.org/debian jessie contrib' > /etc/apt/sources.list.d/jessie-contrib.list \ 6 && echo "deb http://security.debian.org/ jessie/updates main contrib" >> /etc/apt/sources.list \
7 && apt-get update \ 7 && echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-selections \
8 && apt-get install -y ttf-mscorefonts-installer 8 && apt-get update \
9 && apt-get install -y ttf-mscorefonts-installer \
10 && apt-get clean \
11 && apt-get autoremove -y \
12 && rm -rf /var/lib/apt/lists/*
13
14 RUN apt-get update \
15 && apt-get install -y postgresql-client \
16 && apt-get clean \
17 && apt-get autoremove -y \
18 && rm -rf /var/lib/apt/lists/*
9 19
10 WORKDIR /usr/local/tomcat 20 WORKDIR /usr/local/tomcat
11 21
12 COPY setenv.sh bin/ 22 COPY setenv.sh bin/
13 COPY tomcat-users.xml server.xml context.xml logging.properties conf/ 23 COPY tomcat-users.xml server.xml context.xml logging.properties conf/
14 24
15 RUN rm -rf webapps/docs webapps/ROOT webapps/examples webapps/docs webapps/host-manager \ 25 RUN rm -rf webapps/docs webapps/ROOT webapps/examples webapps/docs webapps/host-manager \
16 && chmod +x bin/setenv.sh 26 && chmod +x bin/setenv.sh
17 27
18 ENV TZ=America/New_York 28 ENV TZ=America/New_York
19
20 ENV LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:/usr/lib/x86_64-linux-gnu/
21
22 RUN apt-get install -y libtcnative-1