prometheus docker build
Go to file
2021-03-02 20:56:08 +01:00
.env.dist init 2021-03-02 20:52:56 +01:00
.gitignore init 2021-03-02 20:52:56 +01:00
docker-compose.yaml fix log tag 2021-03-02 20:56:08 +01:00
Dockerfile init 2021-03-02 20:52:56 +01:00
LICENSE Initial commit 2021-03-01 11:35:55 +01:00
prometheus.yaml.dist init 2021-03-02 20:52:56 +01:00
README.md init 2021-03-01 11:45:11 +01:00

docker-prometheus

prometheus docker build

build

GO_VERSION=1.16.0 # optional
PROMETHEUS_VERSION=2.25.0 # optional, will use latest available, if unset
docker \
    build \
    --build-arg GO_VERSION="${GO_VERSION}" \
    --build-arg PROMETHEUS_VERSION="${PROMETHEUS_VERSION}" \
    -t prometheus:"${PROMETHEUS_VERSION}"-local .