Mercurial > public > ssdt-docker
comparison tomcat-17/Dockerfile @ 427:2201156ad763
USASR-5154 added tomcat for java 17
author | belknapSSDT <zach.belknap@mcoecn.org> |
---|---|
date | Wed, 27 Sep 2023 11:49:10 -0400 |
parents | tomcat/Dockerfile@b0b52c426f16 |
children | 2a6846bde6ff |
comparison
equal
deleted
inserted
replaced
426:bb2b3172d497 | 427:2201156ad763 |
---|---|
1 FROM tomcat:8.5.93-jre17 | |
2 | |
3 MAINTAINER Dave Smith <smith@nwoca.org> | |
4 | |
5 RUN echo "deb http://httpredir.debian.org/debian jessie main contrib" > /etc/apt/sources.list \ | |
6 && echo "deb http://security.debian.org/ jessie/updates main contrib" >> /etc/apt/sources.list \ | |
7 && echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-selections \ | |
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/* | |
19 | |
20 WORKDIR /usr/local/tomcat | |
21 | |
22 COPY setenv.sh bin/ | |
23 COPY tomcat-users.xml server.xml context.xml logging.properties conf/ | |
24 | |
25 RUN rm -rf webapps/docs webapps/ROOT webapps/examples webapps/docs webapps/host-manager \ | |
26 && chmod +x bin/setenv.sh | |
27 | |
28 ENV TZ=America/New_York |