comparison tomcat-17/Dockerfile @ 443:955953447f5c

USASR-5154 moved installs before echos
author belknapSSDT <zach.belknap@mcoecn.org>
date Wed, 27 Sep 2023 14:48:01 -0400
parents d79e3e7f9f07
children 07ba7630da44
comparison
equal deleted inserted replaced
442:d79e3e7f9f07 443:955953447f5c
1 FROM tomcat:8.5.93-jre17 1 FROM tomcat:8.5.93-jre17
2 2
3 MAINTAINER Marc Davis <davis@ssdt-ohio.org> 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 && apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 9D6D8F6BC857C906 \
6 && apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys AA8E81B4331F7F50
4 7
5 RUN echo "deb http://archive.debian.org/debian/ jessie main contrib" > /etc/apt/sources.list \ 8 RUN echo "deb http://archive.debian.org/debian/ jessie main contrib" > /etc/apt/sources.list \
6 && echo "deb http://archive.debian.org/debian-security/ jessie/updates main contrib" >> /etc/apt/sources.list \ 9 && echo "deb http://archive.debian.org/debian-security/ jessie/updates main contrib" >> /etc/apt/sources.list \
7 && echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-selections 10 && echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-selections
8 11
9 RUN 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 \ 12 RUN 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 \
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 13 && 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
11
12
13 RUN && apt-get update && apt-get install -y gnupg && apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 9D6D8F6BC857C906 \
14 && apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys AA8E81B4331F7F50
15 14
16 15
17 RUN apt-get update \ 16 RUN apt-get update \
18 && apt-get install -y ttf-mscorefonts-installer \ 17 && apt-get install -y ttf-mscorefonts-installer \
19 && apt-get clean \ 18 && apt-get clean \