From cc7b5ef588bbeca50f6d1daaf69cfd31f3f2182e Mon Sep 17 00:00:00 2001 From: Matthew Pomes Date: Sat, 4 Oct 2025 16:36:49 -0500 Subject: [PATCH] Fix calls to bash --- rustup/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rustup/Dockerfile b/rustup/Dockerfile index 50ef5af..72207d0 100644 --- a/rustup/Dockerfile +++ b/rustup/Dockerfile @@ -30,7 +30,7 @@ RUN curl https://sh.rustup.rs -sSf | \ ENV PATH=/root/.cargo/bin:$PATH ARG EXTRA="" -RUN declare -a ARR=($EXTRA); for name in $ARR; do rustup install $name; done +RUN ["/bin/bash", "-c", "declare -a ARR=($EXTRA); for name in $ARR; do rustup install $name; done"] ARG TARGETS="" -RUN declare -a ARR=($TARGETS); for name in $ARR; do rustup target add $name; done +RUN ["/bin/bash", "-c", "declare -a ARR=($TARGETS); for name in $ARR; do rustup target add $name; done"]