Skip to content

Instantly share code, notes, and snippets.

@pfernique
Last active August 25, 2016 12:05
Show Gist options
  • Save pfernique/e5d4f5dc2ffa93f65d2e885b8e149ddb to your computer and use it in GitHub Desktop.
Save pfernique/e5d4f5dc2ffa93f65d2e885b8e149ddb to your computer and use it in GitHub Desktop.
Build all dockerfiles of the StatisKit organization with build option
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