view java-17/Dockerfile @ 513:b25d03a02977

USASR-5154 use buster
author belknapSSDT <zach.belknap@mcoecn.org>
date Mon, 02 Oct 2023 09:03:49 -0400
parents 8460201c99be
children 94acd3074a27
line wrap: on
line source
FROM openjdk:17-buster

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

RUN cat /etc/os-release && ls && cd /etc/ && 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