ht-docker-node/Dockerfile_npmcijava
2017-10-13 16:43:58 +02:00

15 lines
500 B
Plaintext

FROM hosttoday/ht-docker-node:npmci
LABEL author="Lossless GmbH <office@lossless.com>"
# Install Java.
RUN \
echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | debconf-set-selections && \
add-apt-repository -y ppa:webupd8team/java && \
apt-get update && \
apt-get install -y oracle-java8-installer && \
rm -rf /var/lib/apt/lists/* && \
rm -rf /var/cache/oracle-jdk8-installer
# Define commonly used JAVA_HOME variable
ENV JAVA_HOME /usr/lib/jvm/java-8-oracle