view java-17/Dockerfile @ 464:28d0107d194d

USASR-5154 updated sources.list
author belknapSSDT <zach.belknap@mcoecn.org>
date Thu, 28 Sep 2023 12:48:00 -0400
parents 6224de394acb
children 3924a2ce29cf
line wrap: on
line source
FROM openjdk:17

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

RUN echo "deb http://httpredir.debian.org/debian stretch main contrib" > /etc/apt/sources.list.d \
    && echo "deb http://security.debian.org/ stretch/updates main contrib" >> /etc/apt/sources.list.d \
    && 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