Provide script to build docker images

Build all docker images one at a time or with one top level call
This commit is contained in:
Steven Dake 2014-09-20 18:57:08 -07:00
parent 310f02d451
commit ed602e7e65
18 changed files with 41 additions and 5 deletions

12
docker/build Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
# If the directories were numbered, a simple find could be used to build ;-)
CONTAINERS=(fedora-rdo-base cinder glance/glance-base glance/glance-api glance/glance-registry heat/heat-base heat/heat-api heat/heat-engine keystone mariadb rabbitmq)
for IMAGE in ${CONTAINERS[@]}; do
echo "Building $IMAGE"
pushd .
cd ${IMAGE}
./build
popd
done

2
docker/cinder/build Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
docker build --tag fedora-rdo-cinder .

2
docker/fedora-rdo-base/build Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
docker build --tag fedora-rdo-base .

2
docker/glance/glance-api/build Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
docker build --tag fedora-rdo-glance-api .

View File

@ -0,0 +1,2 @@
#!/bin/bash
docker build --tag fedora-rdo-glance-base .

View File

@ -0,0 +1,2 @@
#!/bin/bash
docker build --tag glance-registry .

2
docker/heat/heat-api/build Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
docker build --tag fedora-rdo-heat-api .

2
docker/heat/heat-base/build Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
docker build --tag fedora-rdo-heat-base .

2
docker/heat/heat-engine/build Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
docker build --tag fedora-rdo-heat-engine .

2
docker/keystone/build Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
docker build --tag fedora-rdo-keystone .

2
docker/mariadb/build Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
docker build --tag fedora-rdo-mariadb .

2
docker/rabbitmq/build Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
docker build --tag fedora-rdo-rabbitmq .

2
docker/rhel-osp-base/build Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
docker build --tag rhel-osp-base .

View File

@ -1,2 +1,2 @@
#!/bin/bash
sudo docker build --tag fedora-rdo-swift-account-server .
docker build --tag fedora-rdo-swift-account-server .

View File

@ -1,2 +1,2 @@
#!/bin/bash
sudo docker build --tag swift-proxy-base .
docker build --tag swift-proxy-base .

View File

@ -1,2 +1,2 @@
#!/bin/bash
sudo docker build --tag fedora-rdo-swift-container-server .
docker build --tag fedora-rdo-swift-container-server .

View File

@ -1,2 +1,2 @@
#!/bin/bash
sudo docker build --tag fedora-rdo-swift-object-server .
docker build --tag fedora-rdo-swift-object-server .

View File

@ -1,2 +1,2 @@
#!/bin/bash
sudo docker build --tag fedora-rdo-swift-proxy-server .
docker build --tag fedora-rdo-swift-proxy-server .