ht-docker-node/Dockerfile_npmcijava

15 lines
499 B
Plaintext
Raw Permalink Normal View History

2017-06-30 14:18:17 +00:00
FROM hosttoday/ht-docker-node:npmci
2018-11-28 21:37:03 +00:00
LABEL author="Lossless GmbH <hello@lossless.com>"
2017-06-30 14:18:17 +00:00
2017-06-30 17:23:26 +00:00
# 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
2017-06-30 14:18:17 +00:00
2017-06-30 17:23:26 +00:00
# Define commonly used JAVA_HOME variable
ENV JAVA_HOME /usr/lib/jvm/java-8-oracle