Public Repository

Last pushed: 2 years ago
Short Description
Docker -> Debian -> Oracle JVM
Full Description

Dockerfile

FROM debian:jessie

MAINTAINER Vladimir Mrixs "mrixs@mrixs.ru"

ENV VERSION 8

RUN echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" >> /etc/apt/sources.list.d/webupd8-team-java.list \
    && echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" >> /etc/apt/sources.list.d/webupd8-team-java.list \
    && apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886 \
    && apt-get update \
    && apt-get install -y python-software-properties debconf-utils \
    && echo "oracle-java8-installer shared/accepted-oracle-license-v1-1 select true" | debconf-set-selections \
    && apt-get update \
    && apt-get install -y oracle-java${VERSION}-installer \
    && apt-get clean
Docker Pull Command
Owner
mrixs