Public | Automated Build

Last pushed: a year ago
Dockerfile
# Pull base image. FROM ubuntu:14.04 # Install base software packages RUN apt-get update && \ apt-get install software-properties-common \ python-software-properties \ wget \ curl \ git \ unzip -y && \ apt-get clean # —————————— # 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 # —————————— # Installs Maven # —————————— ENV MAVEN_VERSION 3.3.9 RUN mkdir -p /usr/share/maven \ && curl -fsSL http://apache.osuosl.org/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz \ | tar -xzC /usr/share/maven --strip-components=1 \ && ln -s /usr/share/maven/bin/mvn /usr/bin/mvn ENV MAVEN_HOME /usr/share/maven # —————————— # Installs Gradle # —————————— # Gradle ENV GRADLE_VERSION 2.4 RUN cd /usr/lib \ && curl -fl https://downloads.gradle.org/distributions/gradle-${GRADLE_VERSION}-bin.zip -o gradle-bin.zip \ && unzip "gradle-bin.zip" \ && ln -s "/usr/lib/gradle-${GRADLE_VERSION}/bin/gradle" /usr/bin/gradle \ && rm "gradle-bin.zip" # Set Appropriate Environmental Variables ENV GRADLE_HOME /usr/lib/gradle ENV PATH $PATH:$GRADLE_HOME/bin
Source Repository