From afdbdd922c62ebb3dbbdc78fc71c316719ec7341 Mon Sep 17 00:00:00 2001 From: zonyitoo Date: Wed, 20 Jul 2022 00:10:36 +0800 Subject: [PATCH] set PATH with MUSL bin --- Cargo.toml | 2 +- Dockerfile | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 39d1e6ac20f9..f171358c3600 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shadowsocks-rust" -version = "1.15.0-alpha.7" +version = "1.15.0-alpha.8" authors = ["Shadowsocks Contributors"] description = "shadowsocks is a fast tunnel proxy that helps you bypass firewalls." repository = "https://github.com/shadowsocks/shadowsocks-rust" diff --git a/Dockerfile b/Dockerfile index fe40cada0dd9..ce583dd38b30 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,6 +28,7 @@ RUN case "$TARGETARCH" in \ ;; \ esac \ && wget -qO- "https://musl.cc/$MUSL-cross.tgz" | tar -xzC /root/ \ + && PATH="/root/$MUSL-cross/bin:$PATH" \ && CC=/root/$MUSL-cross/bin/$MUSL-gcc \ && rustup target add $RUST_TARGET \ && RUSTFLAGS="-C linker=$CC" \