Mercurial > public > ssdt-docker
annotate tomcat/Dockerfile @ 106:bd1f900972ed feature/djs-DEP-12-docker
DEP-12: move V2 compose files to ../compose2 directory
author | smith@nwoca.org |
---|---|
date | Fri, 21 Apr 2017 17:16:35 +0100 |
parents | 53671513b240 |
children | 120fc16ea511 |
rev | line source |
---|---|
81
53671513b240
DEP-10: add timezone and locale settings. add java base image. add native APR for tomcat
smith@nwoca.org
parents:
23
diff
changeset
|
1 FROM tomcat:8.0.33-jre8 |
4 | 2 |
3 MAINTAINER Dave Smith <smith@nwoca.org> | |
4 | |
12 | 5 RUN echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-selections \ |
6 && echo 'deb http://httpredir.debian.org/debian jessie contrib' > /etc/apt/sources.list.d/jessie-contrib.list \ | |
7 && apt-get update \ | |
8 && apt-get install -y ttf-mscorefonts-installer | |
9 | |
9 | 10 WORKDIR /usr/local/tomcat |
5 | 11 |
9 | 12 COPY setenv.sh bin/ |
23 | 13 COPY tomcat-users.xml server.xml context.xml conf/ |
5 | 14 |
9 | 15 RUN rm -rf webapps/docs webapps/ROOT webapps/examples webapps/docs webapps/host-manager \ |
16 && chmod +x bin/setenv.sh | |
81
53671513b240
DEP-10: add timezone and locale settings. add java base image. add native APR for tomcat
smith@nwoca.org
parents:
23
diff
changeset
|
17 |
53671513b240
DEP-10: add timezone and locale settings. add java base image. add native APR for tomcat
smith@nwoca.org
parents:
23
diff
changeset
|
18 ENV TZ=America/New_York |
53671513b240
DEP-10: add timezone and locale settings. add java base image. add native APR for tomcat
smith@nwoca.org
parents:
23
diff
changeset
|
19 |
53671513b240
DEP-10: add timezone and locale settings. add java base image. add native APR for tomcat
smith@nwoca.org
parents:
23
diff
changeset
|
20 ENV LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:/usr/lib/x86_64-linux-gnu/ |
53671513b240
DEP-10: add timezone and locale settings. add java base image. add native APR for tomcat
smith@nwoca.org
parents:
23
diff
changeset
|
21 |
53671513b240
DEP-10: add timezone and locale settings. add java base image. add native APR for tomcat
smith@nwoca.org
parents:
23
diff
changeset
|
22 RUN apt-get install -y libtcnative-1 |