Mercurial > public > ssdt-docker
comparison tomcat/Dockerfile @ 115:151bd88f6c56
DEP-12: update tomcat version and ms fonts installer
author | smith@nwoca.org |
---|---|
date | Thu, 27 Apr 2017 20:57:22 +0100 |
parents | 120fc16ea511 |
children | 912933cacd29 |
comparison
equal
deleted
inserted
replaced
114:a113282d9400 | 115:151bd88f6c56 |
---|---|
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 | 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 | |
10 WORKDIR /usr/local/tomcat | 14 WORKDIR /usr/local/tomcat |
11 | 15 |
12 COPY setenv.sh bin/ | 16 COPY setenv.sh bin/ |
13 COPY tomcat-users.xml server.xml context.xml logging.properties conf/ | 17 COPY tomcat-users.xml server.xml context.xml logging.properties conf/ |
14 | 18 |
15 RUN rm -rf webapps/docs webapps/ROOT webapps/examples webapps/docs webapps/host-manager \ | 19 RUN rm -rf webapps/docs webapps/ROOT webapps/examples webapps/docs webapps/host-manager \ |
16 && chmod +x bin/setenv.sh | 20 && chmod +x bin/setenv.sh |
17 | 21 |
18 ENV TZ=America/New_York | 22 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 |