view java-17/Dockerfile @ 533:2e67cfae1533 production v2.17.0

flow: Merged <release> '2.17.0' to <master> ('production').
author Marc Davis <marc.davis@mcoecn.org>
date Thu, 02 May 2024 22:46:24 -0400
parents 19605893f948
children 39326a8e4f3b
line wrap: on
line source
FROM openjdk:17-buster

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

RUN ls && echo "deb http://deb.debian.org/debian buster main contrib" > /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 \
    && apt-get update \
    && apt-get install -y ttf-mscorefonts-installer \
    && apt-get clean \
    && apt-get autoremove -y \
    && rm -rf /var/lib/apt/lists/*

ENV TZ=America/New_York

RUN echo $TZ > /etc/timezone \
    && dpkg-reconfigure --frontend noninteractive tzdata