changeset 440:2f056eca324e

USASR-5154 add keys to tomcat
author belknapSSDT <zach.belknap@mcoecn.org>
date Wed, 27 Sep 2023 14:01:58 -0400
parents 67bb49975a2c
children cb31de9db860
files tomcat-17/Dockerfile
diffstat 1 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tomcat-17/Dockerfile	Wed Sep 27 13:35:23 2023 -0400
+++ b/tomcat-17/Dockerfile	Wed Sep 27 14:01:58 2023 -0400
@@ -4,8 +4,13 @@
 
 RUN echo "deb http://archive.debian.org/debian/ jessie main contrib" > /etc/apt/sources.list \
     && echo "deb http://archive.debian.org/debian-security/ jessie/updates main contrib" >> /etc/apt/sources.list \
-    && echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-selections \
-    && apt-get update \
+    && echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-selections
+
+RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 9D6D8F6BC857C906 \
+    && apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys AA8E81B4331F7F50
+
+
+RUN apt-get update \
     && apt-get install -y ttf-mscorefonts-installer \
     && apt-get clean \
     && apt-get autoremove -y \