From 87201f26a8326c816ced02232da2c2f374434d69 Mon Sep 17 00:00:00 2001 From: Walter Oggioni Date: Sun, 7 Jul 2024 17:36:46 +0800 Subject: [PATCH] fixed platform name --- shadowsocks-rust/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shadowsocks-rust/Dockerfile b/shadowsocks-rust/Dockerfile index ff2ca2e..fe8c14e 100644 --- a/shadowsocks-rust/Dockerfile +++ b/shadowsocks-rust/Dockerfile @@ -10,15 +10,15 @@ WORKDIR /root/shadowsocks-rust RUN git clone --depth 1 --branch "v${VERSION}" https://github.com/shadowsocks/shadowsocks-rust.git . RUN case "$TARGETPLATFORM" in \ - "386") \ + "linux/386") \ RUST_TARGET="i686-unknown-linux-musl" \ MUSL="i686-linux-musl" \ ;; \ - "amd64") \ + "linux/amd64") \ RUST_TARGET="x86_64-unknown-linux-musl" \ MUSL="x86_64-linux-musl" \ ;; \ - "arm64") \ + "linux/arm64") \ RUST_TARGET="aarch64-unknown-linux-musl" \ MUSL="aarch64-linux-musl" \ ;; \