fix review

This commit is contained in:
Sam Yaple 2017-01-12 02:44:01 +00:00
parent 8d52faf852
commit e8ece76732
1 changed files with 5 additions and 5 deletions

View File

@ -1,9 +1,9 @@
# OpenStack yaodu/glance
[![Docker Automated buil](https://img.shields.io/docker/automated/yaodu/glance.svg)](https://hub.docker.com/r/yaodu/glance/)
Yaodu/glance is a set of Dockerfiles that builds lightweight deployment agnostic images for OpenStack Keystone.
Yaodu/glance is a set of Dockerfiles that builds lightweight deployment agnostic images for OpenStack Glance.
Images are built in the Docker Hub automatically on each push to the master branch to provide a continuously updated set of images based on a number of distributions. Additionally, this repo may be cloned and used to build images for OpenStack Keystone either for development purposes or as part of a CI/CD workflow.
Images are built in the Docker Hub automatically on each push to the master branch to provide a continuously updated set of images based on a number of distributions. Additionally, this repo may be cloned and used to build images for OpenStack Glance either for development purposes or as part of a CI/CD workflow.
## Building locally
@ -25,14 +25,14 @@ For more advanced building you can use docker build arguments to define:
* The docker image tag to use for the base requirements python wheels, `DOCKER_TAG`
* If present, rather than using a docker image containing OpenStack requirements a tarball will be used from the defined URL, `WHEELS`
This makes it really easy to integrate Yaodu images into your development or CI/CD workflow, for example, if you wanted to build an image from [this PS](https://review.openstack.org/#/c/418167/) you could run:
This makes it really easy to integrate Yaodu images into your development or CI/CD workflow, for example, if you wanted to build an image from [this PS](https://review.openstack.org/#/c/368405/12) you could run:
``` bash
$ docker build dockerfiles \
--file dockerfiles/Dockerfile-ubuntu \
--tag mydockernamespace/glance-testing:418167-1 \
--tag mydockernamespace/glance-testing:368405-12 \
--build-arg GIT_REPO=http://git.openstack.org/openstack/glance.git \
--build-arg GIT_REF_REPO=http://git.openstack.org/openstack/glance.git \
--build-arg GIT_REF=refs/changes/67/418167/1
--build-arg GIT_REF=refs/changes/05/368405/12
```