Last active
August 21, 2016 02:49
-
-
Save kasramp/194a70bed2be1e21ce71e89d5404f24e to your computer and use it in GitHub Desktop.
OpenShift build script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd $OPENSHIFT_DATA_DIR | |
if [ ! -d apache-maven-3.3.9 ]; then | |
wget http://www.eu.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz | |
tar -zxf apache-maven-3.3.9-bin.tar.gz | |
fi | |
if [ ! -d jdk1.8.0_65 ]; then | |
wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u65-b16/jdk-8u65-linux-i586.tar.gz | |
tar -zxf jdk-8u65-linux-i586.tar.gz | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment