comparison tomcat-17/Dockerfile @ 445:15a263e509ac

USASR-5154 export keys before echo
author belknapSSDT <zach.belknap@mcoecn.org>
date Wed, 27 Sep 2023 14:58:05 -0400
parents 07ba7630da44
children 827ffef45d65
comparison
equal deleted inserted replaced
444:07ba7630da44 445:15a263e509ac
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 && apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 9D6D8F6BC857C906 \ 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 6 && apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys AA8E81B4331F7F50
7 7
8 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 \
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
8 RUN echo "deb http://archive.debian.org/debian/ jessie main contrib" > /etc/apt/sources.list \ 11 RUN echo "deb http://archive.debian.org/debian/ jessie main contrib" > /etc/apt/sources.list \
9 && echo "deb http://archive.debian.org/debian-security/ jessie/updates main contrib" >> /etc/apt/sources.list \ 12 && echo "deb http://archive.debian.org/debian-security/ jessie/updates main contrib" >> /etc/apt/sources.list \
10 && echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-selections 13 && echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-selections
11
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 \
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
14 14
15 15
16 RUN apt-get update \ 16 RUN apt-get update \
17 && apt-get install -y ttf-mscorefonts-installer \ 17 && apt-get install -y ttf-mscorefonts-installer \
18 && apt-get clean \ 18 && apt-get clean \