mirror of
https://github.com/medigor/example-native-api-rs.git
synced 2024-11-21 17:56:37 +02:00
11 lines
220 B
Bash
Executable File
11 lines
220 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if which podman>/dev/null;
|
|
then
|
|
PROGRAM=podman;
|
|
else
|
|
PROGRAM=docker;
|
|
fi
|
|
|
|
$PROGRAM run -it --rm -v $PWD:/project docker.io/library/rust:1-bullseye cargo build --manifest-path /project/Cargo.toml --release
|