Mercurial > public > ssdt-docker
comparison tomcat-17/Dockerfile @ 607:3ec3180d23a4 tip
merge
author | Justin Kleinknecht <justin.kleinknecht@mcoecn.org> |
---|---|
date | Tue, 01 Jul 2025 20:51:22 +0100 |
parents | 15609ee0fe4e |
children |
comparison
equal
deleted
inserted
replaced
606:2aebef3e31bf | 607:3ec3180d23a4 |
---|---|
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 |