Skip to content
Permalink
7f82ec914b
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
1 contributor

Users who have contributed to this file

18 lines (15 sloc) 745 Bytes
FROM centos:centos7
MAINTAINER tier-packaging@internet2.edu <tier-packaging@internet2.edu>
ENV JAVA_HOME=/opt/openjdk7
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