Skip to content

Instantly share code, notes, and snippets.

@kg6zvp
Last active October 9, 2018 04:43
Show Gist options
  • Save kg6zvp/4887a5d266f37d11853e78df35ad7c28 to your computer and use it in GitHub Desktop.
Save kg6zvp/4887a5d266f37d11853e78df35ad7c28 to your computer and use it in GitHub Desktop.
Build thorntail-v4 and install to local maven cache
#!/bin/bash
#apk update && apk add openssl ca-certificates git # uncomment if you're using the maven:alpine image
git clone 'https://github.com/kg6zvp/thorntail.git'> /dev/null
cd thorntail/ && git checkout 4x_stable
# git checkout $COMMIT_HASH # uncomment this line if you want to lock CI down to a specific commit hash
mvn -DskipDocker -DskipTests install -pl '!docs,!howto/openshift,!howto/openshift-s2i'
cd .. && rm -rf thorntail
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment