Mercurial > public > ssdt-docker
comparison tomcat-17/Dockerfile @ 547:f346f19e322a
add exports for xml printing
author | belknapSSDT <zach.belknap@mcoecn.org> |
---|---|
date | Thu, 23 May 2024 00:00:08 -0400 |
parents | 2bf2426777c8 |
children | a2f2776d4628 |
comparison
equal
deleted
inserted
replaced
546:2bf2426777c8 | 547:f346f19e322a |
---|---|
1 FROM tomcat:8.5.100-jre17 | 1 FROM tomcat:8.5.100-jre17 |
2 | 2 |
3 MAINTAINER Marc Davis <davis@ssdt-ohio.org> | 3 MAINTAINER Marc Davis <davis@ssdt-ohio.org> |
4 | 4 |
5 SHELL ["cmd", "--add-exports=java.xml/com.sun.org.apache.xml.internal.serialize=ALL-UNNAMED"] | 5 SHELL ["cmd", "/S", "/C"] |
6 RUN --add-exports=java.xml/com.sun.org.apache.xml.internal.serialize=ALL-UNNAMED | |
6 | 7 |
7 RUN apt-get update && apt-get install -y gnupg && apt-get install -y apt-transport-https \ | 8 RUN apt-get update && apt-get install -y gnupg && apt-get install -y apt-transport-https \ |
8 && 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 \ | 9 && 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 \ |
9 && 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 \ | 10 && 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 \ |
10 && apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 871920D1991BC93C && apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 112695A0E562B32A \ | 11 apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 871920D1991BC93C 112695A0E562B32A AA8E81B4331F7F50 04EE7237B7D453EC 648ACFD622F3D138 0E98404D386FA1D9 EF0F382A1A7B6500 |
11 && 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 | |
12 | 12 |
13 RUN apt-get update && apt-get install -y x11-common | 13 RUN apt-get update && apt-get install -y x11-common |
14 | 14 |
15 RUN echo "deb http://deb.debian.org/debian buster main contrib non-free" > /etc/apt/sources.list \ | 15 RUN echo "deb http://deb.debian.org/debian buster main contrib non-free" > /etc/apt/sources.list \ |
16 && echo "deb http://security.debian.org/debian-security/ buster/updates main contrib" >> /etc/apt/sources.list \ | 16 && echo "deb http://security.debian.org/debian-security/ buster/updates main contrib" >> /etc/apt/sources.list \ |
27 && apt-get install -y postgresql-client \ | 27 && apt-get install -y postgresql-client \ |
28 && apt-get clean \ | 28 && apt-get clean \ |
29 && apt-get autoremove -y \ | 29 && apt-get autoremove -y \ |
30 && rm -rf /var/lib/apt/lists/* | 30 && rm -rf /var/lib/apt/lists/* |
31 | 31 |
32 | 32 SHELL ["cmd", "--add-exports=java.xml/com.sun.org.apache.xml.internal.serialize=ALL-UNNAMED"] |
33 RUN ["--add-exports=java.xml/com.sun.org.apache.xml.internal.serialize=ALL-UNNAMED"] | |
34 | 33 |
35 WORKDIR /usr/local/tomcat | 34 WORKDIR /usr/local/tomcat |
36 | 35 |
37 COPY setenv.sh bin/ | 36 COPY setenv.sh bin/ |
38 COPY tomcat-users.xml server.xml context.xml logging.properties conf/ | 37 COPY tomcat-users.xml server.xml context.xml logging.properties conf/ |