Wrong links in serever_scripts for arm architecture
Sam-MSU opened this issue · 2 comments
Describe the bug
Dockerfiles for Shadowsocksare in serever_scripts are using wrong links, incompatible with arm architecture:
curl -L https://github.com/shadowsocks/shadowsocks-rust/releases/download/${SS_RELEASE}/shadowsocks-${SS_RELEASE}.${SERVER_ARCH}-unknown-linux-musl.tar.xz
curl can't download archives and container won't start.
To Reproduce
Steps to reproduce the behavior:
Try curl -L https://github.com/shadowsocks/shadowsocks-rust/releases/download/v1.13.1/shadowsocks-arm.v1.13.1-unknown-linux-musl.tar.xz > /tmp/ss.tar.xz; tar -Jxvf /tmp/ss.tar.xz -C /tmp/
It returns:
xz: (stdin): File format not recognized
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Expected behavior
for arm architecture archive links end with:
- -musleabi.tar.xz
- -musleabihf.tar.xz
If used with a correct link and SERVER_ARCH (which is wrong as well, see another bug report):
curl -vL https://github.com/shadowsocks/shadowsocks-rust/releases/download/${SS_RELEASE}/shadowsocks-${SS_RELEASE}.${SERVER_ARCH}-unknown-linux-musleabihf.tar.xz > /usr/bin/ss.tar.xz
allows to start the Docker container on arm.
Server (please complete the following information):
- OS: Armbian_23.11.6 on Tinkerboard