view java/Dockerfile @ 495:ee980c0dc774

USASR-5154 try adding to sources.list
author belknapSSDT <zach.belknap@mcoecn.org>
date Fri, 29 Sep 2023 10:44:20 -0400
parents d6bc968deccb
children ee5c8f4943ef
line wrap: on
line source
FROM openjdk:8u181-jdk

MAINTAINER Marc Davis <davis@nwoca.org>

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