Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (15 sloc) 745 Bytes
FROM centos:centos7
MAINTAINER tier-packaging@internet2.edu <tier-packaging@internet2.edu>
ENV JAVA_HOME=/opt/openjdk8
RUN java_version=8.0.152; \
zulu_version=8.25.0.1; \
yum update -y \
&& yum install -y wget tar \
&& yum clean all \
\
&& echo 'Downloading the OpenJDK Zulu...' \
&& wget -q http://cdn.azul.com/zulu/bin/zulu$zulu_version-jdk$java_version-linux_x64.tar.gz \
&& echo "cc6e9ff13c27d27033220208d5450f2d zulu$zulu_version-jdk$java_version-linux_x64.tar.gz" | md5sum -c - \
&& tar -zxvf zulu$zulu_version-jdk$java_version-linux_x64.tar.gz -C /opt \
&& ln -s /opt/zulu$zulu_version-jdk$java_version-linux_x64 $JAVA_HOME \
&& rm zulu$zulu_version-jdk$java_version-linux_x64.tar.gz
You can’t perform that action at this time.