Created
September 24, 2014 12:51
-
-
Save aweiteka/7b6a5e5ad3508d1af043 to your computer and use it in GitHub Desktop.
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 | |
| declare -A IMAGES | |
| # ["build_directory"]=image/name | |
| IMAGES+=( ["base"]=aweiteka/pulp-centosbase \ | |
| ["config-data"]=aweiteka/pulp-data \ | |
| ["crane-allinone"]=aweiteka/pulp-crane-allinone \ | |
| ["worker"]=aweiteka/pulp-worker \ | |
| ["qpid"]=aweiteka/pulp-qpid \ | |
| ["mondodb"]=aweiteka/pulp-mongodb \ | |
| ["apache"]=aweiteka/pulp-apache \ | |
| ["admin-client"]=aweiteka/pulp-admin \ | |
| ["publish-client"]=aweiteka/pulp-publish-docker ) | |
| for dir in ${!IMAGES[@]}; do | |
| echo "Building ${IMAGES[${dir}]} ..." | |
| sudo docker build --no-cache -t ${IMAGES[${dir}]} ${dir} | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment