docs/Single-server-VictoriaMetrics.md: sync with master

This commit is contained in:
Aliaksandr Valialkin 2020-06-02 22:46:58 +03:00
parent 2961e71217
commit 1aa0eefd18

View File

@ -582,11 +582,11 @@ Run `make package-victoria-metrics`. It builds `victoriametrics/victoria-metrics
`<PKG_TAG>` is auto-generated image tag, which depends on source code in the repository. `<PKG_TAG>` is auto-generated image tag, which depends on source code in the repository.
The `<PKG_TAG>` may be manually set via `PKG_TAG=foobar make package-victoria-metrics`. The `<PKG_TAG>` may be manually set via `PKG_TAG=foobar make package-victoria-metrics`.
By default the image is built on top of `scratch` image. It is possible to build the package on top of any other base image By default the image is built on top of `alpine` image for improved debuggability. It is possible to build the package on top of any other base image
by setting it via `<ROOT_IMAGE>` environment variable. For example, the following command builds the image on top of `alpine:3.11` image: by setting it via `<ROOT_IMAGE>` environment variable. For example, the following command builds the image on top of `scratch` image:
```bash ```bash
ROOT_IMAGE=alpine:3.11 make package-victoria-metrics ROOT_IMAGE=scratch make package-victoria-metrics
``` ```
### Start with docker-compose ### Start with docker-compose