Add justfile
This commit is contained in:
parent
6653339da7
commit
139733f635
1 changed files with 15 additions and 0 deletions
15
justfile
Normal file
15
justfile
Normal file
|
@ -0,0 +1,15 @@
|
|||
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 --rm -d -p --name s2p spaceapi2prometheus
|
||||
|
||||
podman_run: podman_image
|
||||
podman run --rm -d -p --name s2p spaceapi2prometheus
|
Loading…
Add table
Add a link
Reference in a new issue