Open Sam-MSU opened 5 months ago
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: 1) -musleabi.tar.xz 2) -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):
The script was modified. Could you, please, run some tests? The artifacts are available here
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: 1) -musleabi.tar.xz 2) -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):