From 26138fa472db575185cbda615fc788407fb8a7d9 Mon Sep 17 00:00:00 2001 From: Ruben Nijveld Date: Wed, 10 Apr 2024 16:20:45 +0200 Subject: [PATCH] Use --targets instead of --target --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5715114..66c15eb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -122,8 +122,8 @@ RUN set -eux; \ RUN set -eux; \ dpkgArch="$(dpkg --print-architecture)"; \ case "${dpkgArch##*-}" in \ - amd64) set -- --target x86_64-unknown-linux-gnu --target x86_64-unknown-linux-musl ;; \ - arm64) set -- --target aarch64-unknown-linux-gnu --target aarch64-unknown-linux-musl ;; \ + amd64) set -- --targets x86_64-unknown-linux-gnu --targets x86_64-unknown-linux-musl ;; \ + arm64) set -- --targets aarch64-unknown-linux-gnu --targets aarch64-unknown-linux-musl ;; \ *) echo >&2 "unsupported architecture: ${dpkgArch}"; exit 1 ;; \ esac; \ cargo binstall "$@" --no-confirm \