comparison tomcat-17/Dockerfile @ 578:0fd261e85cea production v2.18.0

flow: Merged <release> '2.18.0' to <master> ('production').
author Marc Davis <marc.davis@mcoecn.org>
date Wed, 04 Sep 2024 12:55:22 -0400
parents 15609ee0fe4e
children
comparison
equal deleted inserted replaced
573:d53ae988d7d6 578:0fd261e85cea
1 FROM tomcat:8.5.93-jre17-temurin-jammy 1 FROM tomcat:9.0.89-jdk17-temurin-jammy
2 2
3 MAINTAINER Marc Davis <davis@ssdt-ohio.org> 3 MAINTAINER Marc Davis <davis@ssdt-ohio.org>
4 4
5 RUN apt-get update && apt-get install -y gnupg && apt-get install -y apt-transport-https \ 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 \ 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 \ 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 \ 8 && apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 871920D1991BC93C 112695A0E562B32A AA8E81B4331F7F50 04EE7237B7D453EC 648ACFD622F3D138 0E98404D386FA1D9 EF0F382A1A7B6500
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 9
11 RUN apt-get update && apt-get install -y x11-common 10 RUN apt-get update && apt-get install -y x11-common
12 11
13 RUN echo "deb http://deb.debian.org/debian buster main contrib non-free" > /etc/apt/sources.list \ 12 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 \ 13 && echo "deb http://security.debian.org/debian-security/ buster/updates main contrib" >> /etc/apt/sources.list \
25 && apt-get install -y postgresql-client \ 24 && apt-get install -y postgresql-client \
26 && apt-get clean \ 25 && apt-get clean \
27 && apt-get autoremove -y \ 26 && apt-get autoremove -y \
28 && rm -rf /var/lib/apt/lists/* 27 && rm -rf /var/lib/apt/lists/*
29 28
29
30 WORKDIR /usr/local/tomcat 30 WORKDIR /usr/local/tomcat
31 31
32 COPY setenv.sh bin/ 32 COPY setenv.sh bin/
33 COPY tomcat-users.xml server.xml context.xml logging.properties conf/ 33 COPY tomcat-users.xml server.xml context.xml logging.properties conf/
34 34