view java-17/Dockerfile @ 472:44123bc3d4d4

USASR-5154 try updating
author belknapSSDT <zach.belknap@mcoecn.org>
date Thu, 28 Sep 2023 15:23:35 -0400
parents e5b896d77861
children 4dff53f5d068
line wrap: on
line source
FROM openjdk:17

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

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