From 121bab2b85c3f6958c5acf4d1e6317a4be9b71c6 Mon Sep 17 00:00:00 2001 From: Ruben Nijveld Date: Wed, 10 Apr 2024 15:54:09 +0200 Subject: [PATCH] Fix bash array syntax --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9f47ec9..1bc61d1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -122,8 +122,8 @@ RUN set -eux; \ RUN set -eux; \ dpkgArch="$(dpkg --print-architecture)"; \ case "${dpkgArch##*-}" in \ - amd64) installArchs=(--target, x86_64-unknown-linux-gnu, --target, x86_64-unknown-linux-musl) ;; \ - arm64) installArchs=(--target, aarch64-unknown-linux-gnu, --target, aarch64-unknown-linux-musl) ;; \ + amd64) installArchs=(--target x86_64-unknown-linux-gnu --target x86_64-unknown-linux-musl) ;; \ + arm64) installArchs=(--target aarch64-unknown-linux-gnu --target aarch64-unknown-linux-musl) ;; \ *) echo >&2 "unsupported architecture: ${dpkgArch}"; exit 1 ;; \ esac; \ cargo binstall "${installArchs[@]}" --no-confirm \