comparison java/Dockerfile @ 114:a113282d9400

DEP-12: update java version and fix ms fonts installer
author smith@nwoca.org
date Thu, 27 Apr 2017 15:33:00 -0400
parents 53671513b240
children b0b52c426f16
comparison
equal deleted inserted replaced
113:40d81a3dd3cc 114:a113282d9400
1 FROM docker.ssdt.io/java:8-jre 1 FROM openjdk:8u121-jdk
2 2
3 MAINTAINER Dave Smith <smith@nwoca.org> 3 MAINTAINER Dave Smith <smith@nwoca.org>
4 4
5 RUN echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-selections \ 5 RUN echo "deb http://httpredir.debian.org/debian jessie main contrib" > /etc/apt/sources.list \
6 && echo 'deb http://httpredir.debian.org/debian jessie contrib' > /etc/apt/sources.list.d/jessie-contrib.list \ 6 && echo "deb http://security.debian.org/ jessie/updates main contrib" >> /etc/apt/sources.list \
7 && apt-get update \ 7 && echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-selections \
8 && apt-get install -y ttf-mscorefonts-installer 8 && apt-get update \
9 && apt-get install -y ttf-mscorefonts-installer \
10 && apt-get clean \
11 && apt-get autoremove -y \
12 && rm -rf /var/lib/apt/lists/*
9 13
10 ENV TZ=America/New_York 14 ENV TZ=America/New_York
11 15
12 RUN echo $TZ > /etc/timezone \ 16 RUN echo $TZ > /etc/timezone \
13 && dpkg-reconfigure --frontend noninteractive tzdata 17 && dpkg-reconfigure --frontend noninteractive tzdata