From 90835f8a636bfa99d2a5efe9810b447f7bf6bcdf Mon Sep 17 00:00:00 2001 From: sigil-03 Date: Sat, 30 Aug 2025 11:03:52 -0600 Subject: [PATCH] update dockerfile and build script --- ch32/Dockerfile | 3 --- ch32/build.sh | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) create mode 100755 ch32/build.sh diff --git a/ch32/Dockerfile b/ch32/Dockerfile index 887c608..3fd7828 100644 --- a/ch32/Dockerfile +++ b/ch32/Dockerfile @@ -10,6 +10,3 @@ RUN . ${HOME}/.cargo/env && rustup install nightly && rustup component add rust- # install wlink RUN . ${HOME}/.cargo/env && cargo install --git https://github.com/ch32-rs/wlink - -# set workdir to the current directory -WORKDIR ./ diff --git a/ch32/build.sh b/ch32/build.sh new file mode 100755 index 0000000..9668f2d --- /dev/null +++ b/ch32/build.sh @@ -0,0 +1,2 @@ +#!/bin/bash +docker build --tag ch32-rust .