Mercurial > public > ssdt-docker
comparison tomcat-17/Dockerfile @ 563:5aed9f469cb6
REMOVE SUDO
author | belknapSSDT <zach.belknap@mcoecn.org> |
---|---|
date | Fri, 24 May 2024 10:28:21 -0400 |
parents | 5589e8f59ac0 |
children | 429ab7060baf |
comparison
equal
deleted
inserted
replaced
562:5589e8f59ac0 | 563:5aed9f469cb6 |
---|---|
1 FROM tomcat:9.0.89-jre17 | 1 FROM tomcat:9.0.89-jdk17 |
2 | 2 |
3 MAINTAINER Marc Davis <davis@ssdt-ohio.org> | 3 MAINTAINER Marc Davis <davis@ssdt-ohio.org> |
4 | 4 |
5 | 5 |
6 RUN apt-get update && apt-get install -y gnupg && apt-get install -y apt-transport-https \ | 6 RUN apt-get update && apt-get install -y gnupg && apt-get install -y apt-transport-https \ |
7 && sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 871920D1991BC93C 112695A0E562B32A AA8E81B4331F7F50 04EE7237B7D453EC 648ACFD622F3D138 0E98404D386FA1D9 EF0F382A1A7B6500 \ | 7 && apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 871920D1991BC93C 112695A0E562B32A AA8E81B4331F7F50 04EE7237B7D453EC 648ACFD622F3D138 0E98404D386FA1D9 EF0F382A1A7B6500 \ |
8 && sudo gpg --export 871920D1991BC93C 112695A0E562B32A AA8E81B4331F7F50 04EE7237B7D453EC 648ACFD622F3D138 0E98404D386FA1D9 EF0F382A1A7B6500 | sudo apt-key add - | 8 && gpg --export 871920D1991BC93C 112695A0E562B32A AA8E81B4331F7F50 04EE7237B7D453EC 648ACFD622F3D138 0E98404D386FA1D9 EF0F382A1A7B6500 | apt-key add - |
9 | 9 |
10 RUN apt-get update && apt-get install -y x11-common | 10 RUN apt-get update && apt-get install -y x11-common |
11 | 11 |
12 RUN echo "deb http://deb.debian.org/debian buster main contrib non-free" > /etc/apt/sources.list \ | 12 RUN echo "deb http://deb.debian.org/debian buster main contrib non-free" > /etc/apt/sources.list \ |
13 && echo "deb http://security.debian.org/debian-security/ buster/updates main contrib" >> /etc/apt/sources.list \ | 13 && echo "deb http://security.debian.org/debian-security/ buster/updates main contrib" >> /etc/apt/sources.list \ |