Sign inSign up

3xpo/alpine-prometheus

By 3xpo

•Updated about 2 years ago

3xpo/prometheus but alpine

Image
0

2.9K

3xpo/alpine-prometheus repository overview

⁠alpine-prometheus

An alpine image with prometheus-lua⁠ preinstalled.

⁠Usage

One-liner with default cmd:

podman run -it --rm -v "$(pwd)/input.lua":/scripts/script.lua -v "$(pwd)/output.lua":/scripts/script.obfuscated.lua docker.io/3xpo/alpine-prometheus

With custom cmd:

podman run -it --rm -v "$(pwd)/input.lua":/scripts/script.lua -v "$(pwd)/output.lua":/scripts/script.obfuscated.lua docker.io/3xpo/alpine-prometheus prometheus --preset Medium /scripts/script.lua
⁠Notes

Prometheus' installation lives at $PROMETHEUS_INSTALL; currently equivalent to $HOME/Prometheus.
It's executed using LuaJIT. The Prometheus binary is installed in /bin/prometheus.

Tag summary

Content type

Image

Digest

sha256:cbd61c0f7…

Size

13.9 MB

Last updated

about 2 years ago

docker pull 3xpo/alpine-prometheus