HOWTO.md: updated instructions.

This commit is contained in:
Pedro Salgado 2016-12-30 19:55:13 -07:00
parent 23fbf61564
commit 4076e425dd

View File

@ -15,12 +15,24 @@ help you generate docker container images.
grab the available releases and SHA1 checksum and grab the available releases and SHA1 checksum and
rebuild the `${ODOO_VERSION}/releases.txt`. rebuild the `${ODOO_VERSION}/releases.txt`.
`generate.sh <optional:release>` will read the `${ODOO_VERSION}/releases.txt` file, ```bash
# all
$ bash generate_releases.sh
# single release
$ bash generate_releases.sh 20161230
```
`generate.sh` will read the `${ODOO_VERSION}/releases.txt` file,
parse the `release:checksum` lines and parse the `release:checksum` lines and
generate the `${ODOO_VERSION}/${ODOO_RELEASE}/Dockerfile`. generate the `${ODOO_VERSION}/${ODOO_RELEASE}/Dockerfile`.
```bash ```bash
# all
$ bash generate.sh $ bash generate.sh
# single release
$ bash generate.sh 20161230
``` ```
`build.sh` is used to build the docker container images locally. `build.sh` is used to build the docker container images locally.