This commit is contained in:
Sam Yaple 2017-03-22 17:16:15 +00:00
parent 8e503e3d59
commit fd2a251d58
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ Images are built in the Docker Hub automatically on each push to the master bran
It's really easy to build images locally for the distro of your choice. To build an image you only need to run:
``` bash
$ docker build https://github.com/yaodu/docker-keystone.git \
--file dockerfiles/Dockerfile-debian \
--file debian/Dockerfile \
--tag yaodu/keystone:latest
```
You can, of course, substitute `debian` with your distro of choice.
@ -32,7 +32,7 @@ For more advanced building you can use docker build arguments to define:
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:
``` bash
$ docker build https://github.com/yaodu/docker-keystone.git \
--file dockerfiles/Dockerfile-ubuntu \
--file ubuntu/Dockerfile \
--tag mydockernamespace/keystone-testing:418167-1 \
--build-arg GIT_REPO=http://git.openstack.org/openstack/keystone.git \
--build-arg GIT_REF_REPO=http://git.openstack.org/openstack/keystone.git \