1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00

fix shadowsocks-rust

This commit is contained in:
kev 2022-08-11 18:25:29 +08:00
parent beaf83ac48
commit 56b92ca119

View File

@ -6,12 +6,12 @@ FROM alpine:3
MAINTAINER EasyPi Software Foundation
ARG SS_RUST_VERSION=v1.14.3
ARG SS_RUST_FILE=shadowsocks-${SS_RUST_VERSION}.x86_64-unknown-linux-gnu.tar.xz
ARG SS_RUST_FILE=shadowsocks-${SS_RUST_VERSION}.x86_64-unknown-linux-musl.tar.xz
ARG SS_RUST_URL=https://github.com/shadowsocks/shadowsocks-rust/releases/download/${SS_RUST_VERSION}/${SS_RUST_FILE}
RUN set -ex \
&& apk add --no-cache curl \
&& curl -sSL ${SS_RUST_URL} | tar xJ -C /usr/bin/ \
&& curl -sSL ${SS_RUST_URL} | tar xJ ssservice -C /usr/bin/ \
&& apk del curl
ENV SERVER_ADDR=0.0.0.0