mirror of
https://github.com/hykilpikonna/hyfetch.git
synced 2026-04-18 14:47:40 -05:00
12 lines
375 B
Bash
12 lines
375 B
Bash
#!/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"
|