mirror of
https://github.com/prometheus/prometheus
synced 2024-12-23 15:04:13 +00:00
Add instructions for building docker image locally to README.md
Fixes #8442 Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
This commit is contained in:
parent
e98e625649
commit
74e0614b5c
1
.gitignore
vendored
1
.gitignore
vendored
@ -23,3 +23,4 @@ npm_licenses.tar.bz2
|
||||
/web/ui/assets_vfsdata.go
|
||||
|
||||
/vendor
|
||||
/.build
|
||||
|
12
README.md
12
README.md
@ -91,9 +91,19 @@ The Makefile provides several targets:
|
||||
* *test-short*: run the short tests
|
||||
* *format*: format the source code
|
||||
* *vet*: check the source code for common errors
|
||||
* *docker*: build a docker container for the current `HEAD`
|
||||
* *assets*: build the new experimental React UI
|
||||
|
||||
### Building the Docker image
|
||||
|
||||
The `make docker` target is designed for use in our CI system.
|
||||
You can build a docker image locally with the following commands:
|
||||
|
||||
$ make promu
|
||||
$ promu crossbuild -p linux/amd64
|
||||
$ make common-docker-amd64
|
||||
|
||||
*NB* if you are on a Mac, you will need [gnu-tar](https://formulae.brew.sh/formula/gnu-tar).
|
||||
|
||||
## React UI Development
|
||||
|
||||
For more information on building, running, and developing on the new React-based UI, see the React app's [README.md](https://github.com/prometheus/prometheus/blob/master/web/ui/react-app/README.md).
|
||||
|
Loading…
Reference in New Issue
Block a user