comparison tomcat-17/Dockerfile @ 533:2e67cfae1533 production v2.17.0

flow: Merged <release> '2.17.0' to <master> ('production').
author Marc Davis <marc.davis@mcoecn.org>
date Thu, 02 May 2024 22:46:24 -0400
parents 02a26189f689
children 70bdc4e8131e
comparison
equal deleted inserted replaced
524:6ddfd364a52a 533:2e67cfae1533
1 FROM tomcat:8.5.93-jre17-temurin-jammy
2
3 MAINTAINER Marc Davis <davis@ssdt-ohio.org>
4
5 RUN apt-get update && apt-get install -y gnupg && apt-get install -y apt-transport-https \
6 && gpg --no-default-keyring --keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg --export > /etc/apt/trusted.gpg.d/ubuntu-keyring.fixed.gpg \
7 && gpg --no-default-keyring --keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg --export > /etc/apt/trusted.gpg.d/ubuntu-keyring.fixed.gpg \
8 && apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 871920D1991BC93C && apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 112695A0E562B32A \
9 && apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys AA8E81B4331F7F50 && apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 04EE7237B7D453EC 648ACFD622F3D138 0E98404D386FA1D9 EF0F382A1A7B6500
10
11 RUN apt-get update && apt-get install -y x11-common
12
13 RUN echo "deb http://deb.debian.org/debian buster main contrib non-free" > /etc/apt/sources.list \
14 && echo "deb http://security.debian.org/debian-security/ buster/updates main contrib" >> /etc/apt/sources.list \
15 && echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-selections
16
17
18 RUN apt-get update \
19 && apt-get install -y ttf-mscorefonts-installer \
20 && apt-get clean \
21 && apt-get autoremove -y \
22 && rm -rf /var/lib/apt/lists/*
23
24 RUN apt-get update \
25 && apt-get install -y postgresql-client \
26 && apt-get clean \
27 && apt-get autoremove -y \
28 && rm -rf /var/lib/apt/lists/*
29
30 WORKDIR /usr/local/tomcat
31
32 COPY setenv.sh bin/
33 COPY tomcat-users.xml server.xml context.xml logging.properties conf/
34
35 RUN rm -rf webapps/docs webapps/ROOT webapps/examples webapps/docs webapps/host-manager \
36 && chmod +x bin/setenv.sh
37
38 ENV TZ=America/New_York