view tomcat/Dockerfile @ 539:5d5525414c8d production tip

update exec-all-projects-docker.sh to search for ./env/*-shared.properties in place of ./env/ssdt-*-shared.properties. ESS doesn't follow the same pattern for property file names.
author Marc Davis <marc.davis@mcoecn.org>
date Mon, 13 May 2024 13:28:30 -0400
parents 4b026170dfea
children
line wrap: on
line source
FROM tomcat:8.5.51-jdk8

MAINTAINER Dave Smith <smith@nwoca.org>

RUN echo "deb http://deb.debian.org/debian buster main contrib non-free" > /etc/apt/sources.list \
    && echo "deb http://security.debian.org/debian-security/ buster/updates main contrib" >> /etc/apt/sources.list \
    && echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-selections

RUN 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