Fix dockerfile array parsing
Some checks failed
publish / docker (push) Failing after 28s

This commit is contained in:
2025-10-04 16:29:48 -05:00
parent fff50ab102
commit 46f916f38e

View File

@@ -30,6 +30,7 @@ RUN curl https://sh.rustup.rs -sSf | \
ENV PATH=/root/.cargo/bin:$PATH ENV PATH=/root/.cargo/bin:$PATH
ARG EXTRA="" 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="" 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