From 46f916f38ec8491a81274059048f25f0afb02eec Mon Sep 17 00:00:00 2001 From: Matthew Pomes Date: Sat, 4 Oct 2025 16:29:48 -0500 Subject: [PATCH] Fix dockerfile array parsing --- rustup/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rustup/Dockerfile b/rustup/Dockerfile index 7b00331..50ef5af 100644 --- a/rustup/Dockerfile +++ b/rustup/Dockerfile @@ -30,6 +30,7 @@ RUN curl https://sh.rustup.rs -sSf | \ ENV PATH=/root/.cargo/bin:$PATH ARG EXTRA="" -RUN for name in "$EXTRA"; do rustup install $name; done +RUN declare -a ARR=($EXTRA); for name in $ARR; do rustup install $name; done + ARG TARGETS="" -RUN for name in "$TARGETS"; do rustup target add $name; done +RUN declare -a ARR=($TARGETS); for name in $ARR; do rustup target add $name; done