Mercurial > public > ssdt-docker
view java-17/Dockerfile @ 481:0701c3e10254
USASR-5154 replace apt with yum
author | belknapSSDT <zach.belknap@mcoecn.org> |
---|---|
date | Thu, 28 Sep 2023 16:21:52 -0400 |
parents | 52cf091c3e0e |
children | f240eb72a331 |
line wrap: on
line source
FROM openjdk:17 MAINTAINER Marc Davis <davis@ssdt-ohio.org> RUN cd /etc/ && ls && echo "deb http://httpredir.debian.org/debian stretch main contrib" > /etc/yum.repos.d/sources.list \ && echo "deb http://security.debian.org/ stretch/updates main contrib" >> /etc/yum.repos.d/sources.list \ && echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-selections \ && yum update \ && yum install -y ttf-mscorefonts-installer \ && yum clean \ && yum autoremove -y \ && rm -rf /var/lib/apt/lists/* ENV TZ=America/New_York RUN echo $TZ > /etc/timezone \ && dpkg-reconfigure --frontend noninteractive tzdata