Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FROM debian:sid
- ARG V2RAY_VERSION=v1.3.1
- ARG SS-RUST_VERSION=v1.14.1
- COPY conf/ /conf
- COPY entrypoint.sh /entrypoint.sh
- ARG DEBIAN_FRONTEND=noninteractive
- RUN set -ex\
- && apt update -y \
- && apt install -y wget qrencode nginx-light jq \
- && apt clean -y \
- && chmod +x /entrypoint.sh \
- && mkdir -p /etc/shadowsocks-libev /v2raybin /wwwroot \
- && wget -O- "https://github.com/shadowsocks/v2ray-plugin/releases/download/${V2RAY_VERSION}/v2ray-plugin-linux-amd64-${V2RAY_VERSION}.tar.gz" | \
- tar zx -C /v2raybin \
- && install /v2raybin/v2ray-plugin_linux_amd64 /usr/bin/v2ray-plugin \
- && wget -O- "https://github.com/shadowsocks/shadowsocks-rust/releases/download/${SS-RUST_VERSION}/shadowsocks-${SS-RUST_VERSION}.x86_64-unknown-linux-gnu.tar.xz" | \
- tar zj -C /v2raybin \
- && install /v2raybin/ssserver /usr/bin/ss-server \
- && rm -rf /v2raybin
- CMD /entrypoint.sh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement