Last active
August 25, 2016 12:05
-
-
Save pfernique/e5d4f5dc2ffa93f65d2e885b8e149ddb to your computer and use it in GitHub Desktop.
Build all dockerfiles of the StatisKit organization with build option
This file contains 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
set -e | |
git clone https://github.com/StatisKit/Misc.git | |
cd Misc | |
docker build --no-cache --build-arg BUILD="true" -t statiskit/ubuntu:trusty . | |
docker run -t statiskit/ubuntu:trusty /bin/bash post-link.sh | |
cd .. | |
rm -rf Misc | |
for GITHUB in PyClangLite AutoWIG; do | |
git clone https://github.com/StatisKit/$GITHUB.git | |
cd $GITHUB | |
DOCKER=`echo "$GITHUB" | tr '[:upper:]' '[:lower:]'` | |
docker build --no-cache --build-arg BUILD="true" -t statiskit/$DOCKER:trusty .; | |
docker run -t statiskit/$DOCKER:trusty /bin/bash post-link.sh | |
rm -rf $GITHUB | |
cd .. | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment