prometheus docker build
Go to file
Fritz Schaal a57b737179 init
2021-03-01 11:45:11 +01:00
Dockerfile init 2021-03-01 11:45:11 +01:00
LICENSE Initial commit 2021-03-01 11:35:55 +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 .