feat: add rust-pod development environment setup
This commit is contained in:
15
rust-pod
Executable file
15
rust-pod
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
IMAGE_NAME="rust-dev-pod"
|
||||
|
||||
if ! podman image exists $IMAGE_NAME; then
|
||||
echo "Image $IMAGE_NAME not found. Building..."
|
||||
podman build -t $IMAGE_NAME .
|
||||
fi
|
||||
|
||||
echo "Dropping you into the Rust Dev Pod..."
|
||||
podman run -it --rm \
|
||||
-v "$PWD:$PWD" \
|
||||
-w "$PWD" \
|
||||
$IMAGE_NAME \
|
||||
bash
|
||||
Reference in New Issue
Block a user