Update Docs

This commit is contained in:
Pete Birley 2017-01-13 17:54:55 +00:00
parent 9d36c32b2d
commit 323795504c

View File

@ -5,13 +5,17 @@ Yaodu/heat is a set of Dockerfiles that builds lightweight deployment agnostic i
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 Heat either for development purposes or as part of a CI/CD workflow.
### Image Layer Info
[![](https://images.microbadger.com/badges/version/yaodu/heat:latest.svg)](https://microbadger.com/images/yaodu/heat:latest "yaodu/heat:latest") [![](https://images.microbadger.com/badges/image/yaodu/heat:latest.svg)](https://microbadger.com/images/yaodu/heat:latest "yaodu/heat:latest")
[![](https://images.microbadger.com/badges/version/yaodu/heat:ubuntu.svg)](https://microbadger.com/images/yaodu/heat:ubuntu "yaodu/heat:ubuntu") [![](https://images.microbadger.com/badges/image/yaodu/heat:ubuntu.svg)](https://microbadger.com/images/yaodu/heat:ubuntu "yaodu/heat:ubuntu")
[![](https://images.microbadger.com/badges/version/yaodu/heat:centos.svg)](https://microbadger.com/images/yaodu/heat:centos "yaodu/heat:centos") [![](https://images.microbadger.com/badges/image/yaodu/heat:centos.svg)](https://microbadger.com/images/yaodu/heat:centos "yaodu/heat:centos")
## Building locally
It's really easy to build images locally for the distro of your choice. To clone the repo and build run the following:
It's really easy to build images locally for the distro of your choice. To build an image you only need to run:
``` bash
$ git clone https://github.com/yaodu/docker-heat.git
$ cd ./docker-heat
$ docker build dockerfiles \
$ docker build https://github.com/yaodu/docker-heat.git \
--file dockerfiles/Dockerfile-debian \
--tag yaodu/heat:latest
```
@ -27,7 +31,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/213731/4) you could run:
``` bash
$ docker build dockerfiles \
$ docker build https://github.com/yaodu/docker-heat.git \
--file dockerfiles/Dockerfile-ubuntu \
--tag mydockernamespace/heat-testing:213731-4 \
--build-arg GIT_REPO=http://git.openstack.org/openstack/heat.git \