Merge pull request #9 from radez/glance
updating build and start scripts for glance
This commit is contained in:
commit
d79eaf8441
10
docker/glance/build
Executable file
10
docker/glance/build
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
for image in glance-base glance-api glance-registry; do
|
||||
(
|
||||
pushd $image
|
||||
./build
|
||||
popd
|
||||
)
|
||||
done
|
||||
|
@ -1,10 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
for image in glance-base glance-api glance-registry; do
|
||||
(
|
||||
cd $image
|
||||
docker build -t docker.usersys.redhat.com/larsks/${image}:latest .
|
||||
docker push docker.usersys.redhat.com/larsks/${image}:latest
|
||||
)
|
||||
done
|
||||
|
10
docker/glance/glance-api-service.json
Normal file
10
docker/glance/glance-api-service.json
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"id": "glanceapimaster",
|
||||
"kind": "Service",
|
||||
"apiVersion": "v1beta1",
|
||||
"port": 9292,
|
||||
"containerPort": 9292,
|
||||
"selector": {
|
||||
"name": "glance-api-master"
|
||||
}
|
||||
}
|
@ -1,6 +1,5 @@
|
||||
FROM fedora-rdo-glance-base
|
||||
MAINTAINER Lars Kellogg-Stedman <lars@redhat.com>
|
||||
FROM kollaglue/fedora-rdo-glance-base
|
||||
MAINTAINER Dan Radez <dradez@redhat.com>
|
||||
|
||||
ADD ./start.sh /start.sh
|
||||
CMD ["/start.sh"]
|
||||
|
||||
|
0
docker/glance/glance-api/start.sh
Normal file → Executable file
0
docker/glance/glance-api/start.sh
Normal file → Executable file
@ -1,5 +1,5 @@
|
||||
FROM fedora-rdo-base
|
||||
MAINTAINER Lars Kellogg-Stedman <lars@redhat.com>
|
||||
FROM kollaglue/fedora-rdo-base
|
||||
MAINTAINER Dan Radez <dradez@redhat.com>
|
||||
|
||||
RUN yum -y install \
|
||||
openstack-utils \
|
||||
|
10
docker/glance/glance-registry-service.json
Normal file
10
docker/glance/glance-registry-service.json
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"id": "glanceregistrymaster",
|
||||
"kind": "Service",
|
||||
"apiVersion": "v1beta1",
|
||||
"port": 9191,
|
||||
"containerPort": 9191,
|
||||
"selector": {
|
||||
"name": "glance-registry-master"
|
||||
}
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
FROM fedora-rdo-glance-base
|
||||
MAINTAINER Lars Kellogg-Stedman <lars@redhat.com>
|
||||
FROM kollaglue/fedora-rdo-glance-base
|
||||
MAINTAINER Dan Radez <dradez@redhat.com>
|
||||
|
||||
ADD ./start.sh /start.sh
|
||||
CMD ["/start.sh"]
|
||||
|
0
docker/glance/glance-registry/start.sh
Normal file → Executable file
0
docker/glance/glance-registry/start.sh
Normal file → Executable file
@ -7,9 +7,9 @@
|
||||
"containers": [
|
||||
{
|
||||
"name": "glance-registry",
|
||||
"image": "docker.usersys.redhat.com/larsks/glance-registry",
|
||||
"image": "kollaglue/fedora-rdo-glance-registry",
|
||||
"ports": [
|
||||
{"containerPort": 9292},
|
||||
{"containerPort": 9191},
|
||||
],
|
||||
"env": [
|
||||
{
|
||||
@ -28,7 +28,7 @@
|
||||
},
|
||||
{
|
||||
"name": "glance-api",
|
||||
"image": "docker.usersys.redhat.com/larsks/glance-api",
|
||||
"image": "kollaglue/fedora-rdo-glance-api",
|
||||
"ports": [
|
||||
{"containerPort": 9292},
|
||||
],
|
||||
@ -51,6 +51,6 @@
|
||||
}
|
||||
},
|
||||
"labels": {
|
||||
"name": "keystone-master"
|
||||
"name": "glance-master"
|
||||
}
|
||||
}
|
||||
|
10
docker/glance/push
Executable file
10
docker/glance/push
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
for image in glance-base glance-api glance-registry; do
|
||||
(
|
||||
pushd $image
|
||||
./push
|
||||
popd
|
||||
)
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user