Skip to content

Commit

Permalink
set PATH with MUSL bin
Browse files Browse the repository at this point in the history
  • Loading branch information
zonyitoo committed Jul 19, 2022
1 parent e1fc984 commit afdbdd9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down

0 comments on commit afdbdd9

Please sign in to comment.