[+] Rust builder?
This commit is contained in:
parent
a0db219ba3
commit
cafa3ff752
4 changed files with 37 additions and 2 deletions
11
tools/build_rust.sh
Normal file
11
tools/build_rust.sh
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
# Step 1: Build the Docker image
|
||||
echo "Building the Docker image..."
|
||||
docker build -t rust-builder-general tools/rust-builder/general
|
||||
|
||||
# Step 2: Run the Docker container and execute the builder script
|
||||
echo "Running the Docker container..."
|
||||
docker run --rm -v "$(pwd)":/app rust-builder bash -c "cd /app && ./tools/rust-builder/general/builder.sh"
|
||||
Loading…
Add table
Add a link
Reference in a new issue