view java/Dockerfile @ 257:39e21a6bed19

update container capabilities
author smith@nwoca.org
date Wed, 30 May 2018 17:34:20 +0100
parents a113282d9400
children b0b52c426f16
line wrap: on
line source
FROM openjdk:8u121-jdk

MAINTAINER Dave Smith <smith@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