spaceapi2prometheus/justfile

16 lines
471 B
Makefile
Raw Normal View History

2023-05-23 19:37:39 +03:00
build_musl:
rustup target add x86_64-unknown-linux-musl
cargo build --release --target x86_64-unknown-linux-musl
docker_image: build_musl
docker build -t spaceapi2prometheus -f Containerfile .
podman_image: build_musl
podman build -t spaceapi2prometheus .
docker_run: docker_image
docker run -d -p --restart always --name s2p spaceapi2prometheus
2023-05-23 19:37:39 +03:00
podman_run: podman_image
podman run -d -p --restart-policy=always --name s2p spaceapi2prometheus