view tomcat-17/Dockerfile @ 433:04216320f537

fix url's for archived debian versions
author davis@ssdt-ohio.org
date Wed, 27 Sep 2023 13:23:20 -0400
parents 2a6846bde6ff
children 2f056eca324e
line wrap: on
line source
FROM tomcat:8.5.93-jre17

MAINTAINER Marc Davis <davis@ssdt-ohio.org>

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 \
    && apt-get install -y ttf-mscorefonts-installer \
    && apt-get clean \
    && apt-get autoremove -y \
    && rm -rf /var/lib/apt/lists/*
    
RUN apt-get update \
    && apt-get install -y postgresql-client  \
    && apt-get clean \
    && apt-get autoremove -y \
    && rm -rf /var/lib/apt/lists/*

WORKDIR /usr/local/tomcat

COPY setenv.sh bin/
COPY tomcat-users.xml server.xml context.xml logging.properties conf/

RUN rm -rf webapps/docs webapps/ROOT webapps/examples webapps/docs webapps/host-manager \
	&& chmod +x bin/setenv.sh
	
ENV TZ=America/New_York