changeset 563:5aed9f469cb6

REMOVE SUDO
author belknapSSDT <zach.belknap@mcoecn.org>
date Fri, 24 May 2024 10:28:21 -0400
parents 5589e8f59ac0
children 429ab7060baf
files tomcat-17/Dockerfile
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/tomcat-17/Dockerfile	Fri May 24 10:22:42 2024 -0400
+++ b/tomcat-17/Dockerfile	Fri May 24 10:28:21 2024 -0400
@@ -1,11 +1,11 @@
-FROM tomcat:9.0.89-jre17
+FROM tomcat:9.0.89-jdk17
 
 MAINTAINER Marc Davis <davis@ssdt-ohio.org>
 
 
 RUN apt-get update && apt-get install -y gnupg && apt-get install -y apt-transport-https \
-    && sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 871920D1991BC93C 112695A0E562B32A AA8E81B4331F7F50 04EE7237B7D453EC 648ACFD622F3D138 0E98404D386FA1D9 EF0F382A1A7B6500 \
-    && sudo gpg --export  871920D1991BC93C 112695A0E562B32A AA8E81B4331F7F50 04EE7237B7D453EC 648ACFD622F3D138 0E98404D386FA1D9 EF0F382A1A7B6500 | sudo apt-key add  -
+    && apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 871920D1991BC93C 112695A0E562B32A AA8E81B4331F7F50 04EE7237B7D453EC 648ACFD622F3D138 0E98404D386FA1D9 EF0F382A1A7B6500 \
+    && gpg --export  871920D1991BC93C 112695A0E562B32A AA8E81B4331F7F50 04EE7237B7D453EC 648ACFD622F3D138 0E98404D386FA1D9 EF0F382A1A7B6500 | apt-key add  -
 
 RUN apt-get update && apt-get install -y x11-common