externalize netbox download with wget

This commit is contained in:
Christian Mäder 2019-10-13 16:00:42 +02:00
parent ab4b8720d1
commit f3b9c34e3b
6 changed files with 88 additions and 67 deletions

View file

@ -69,18 +69,17 @@ To use this feature, set the environment-variable `VERSION` before launching `do
[any tag of the `netboxcommunity/netbox` Docker image on Docker Hub][netbox-dockerhub].
```bash
export VERSION=v2.2.6
export VERSION=v2.6.6
docker-compose pull netbox
docker-compose up -d
```
You can also build a specific version of the Netbox image. This time, `VERSION` indicates any valid
[Git Reference][git-ref] declared on [the 'netbox-community/netbox' Github repository][netbox-github].
Most commonly you will specify a tag or branch name.
You can also build a specific version of the Netbox Docker image yourself.
`VERSION` can be any valid [git ref][git-ref] in that case.
```bash
export VERSION=develop
docker-compose build --no-cache netbox
export VERSION=v2.6.6
./build.sh $VERSION
docker-compose up -d
```