Skip to content

Commit 1c8d695

Browse files
committed
Remove references to the old build system
1 parent 6533219 commit 1c8d695

File tree

2 files changed

+11
-71
lines changed

2 files changed

+11
-71
lines changed

DOCKER_HUB.md

Lines changed: 0 additions & 63 deletions
This file was deleted.

README.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -124,31 +124,34 @@ docker-compose up -d
124124

125125
From time to time it might become necessary to re-engineer the structure of this setup.
126126
Things like the `docker-compose.yml` file or your Kubernetes or OpenShift configurations have to be adjusted as a consequence.
127+
127128
Since November 2019 each image built from this repo contains a `org.opencontainers.image.version` label.
128129
(The images contained labels since April 2018, although in November 2019 the labels' names changed.)
129-
You can check the label of your local image by running `docker inspect netboxcommunity/netbox:v2.7.1 --format "{{json .ContainerConfig.Labels}}"`.
130+
You can check the label of your local image by running `docker inspect netboxcommunity/netbox:v2.7.1 --format "{{json .Config.Labels}}"`.
130131

131132
Please read [the release notes][releases] carefully when updating to a new image version.
132133

133134
[releases]: https://github.com/netbox-community/netbox-docker/releases
134135

135-
## Rebuilding & Publishing images
136+
## Rebuilding the Image
136137

137138
`./build.sh` can be used to rebuild the Docker image. See `./build.sh --help` for more information.
138139

139-
### Publishing Docker Images
140+
For more details on custom builds [consult our wiki][netbox-docker-wiki-build].
141+
142+
[netbox-docker-wiki-build]: https://github.com/netbox-community/netbox-docker/wiki/Build
140143

141-
New Docker images are built and published every 24h on the [Docker Build Infrastructure][docker-build-infra].
142-
`DOCKER_HUB.md` contains more information about the build infrastructure.
144+
### Pre-made Docker Images
143145

144-
[docker-build-infra]: https://hub.docker.com/r/netboxcommunity/netbox/builds/
146+
New Docker images are built and published every 24h.
145147

146148
## Tests
147149

148-
To run the tests coming with Netbox, use the `docker-compose.yml` file as such:
150+
We have a test script.
151+
It runs Netbox's own unit tests and ensures that all initializers work:
149152

150153
```bash
151-
docker-compose run netbox ./manage.py test
154+
IMAGE=netboxcommunity/netbox:latest ./test.sh
152155
```
153156

154157
## About

0 commit comments

Comments
 (0)