PlantCtrl/board/modules/Sensors_can/ch32-sensor/bin/build-wch-tools-container.sh
2025-08-29 17:14:15 +02:00

11 lines
254 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
CONTAINER_NAME="localhost/wch-dev-tools:latest"
CONTAINER_TOOLS_BASEDIR="$(dirname "$(readlink -f "$0")")"
pushd "$CONTAINER_TOOLS_BASEDIR"
podman build -t "$CONTAINER_NAME" -f "../wch-tools.Containerfile" .
popd