Advertisement
Guest User

Untitled

a guest
Mar 12th, 2022
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. FROM debian:sid
  2.  
  3. ARG V2RAY_VERSION=v1.3.1
  4. ARG SS-RUST_VERSION=v1.14.1
  5.  
  6. COPY conf/ /conf
  7. COPY entrypoint.sh /entrypoint.sh
  8.  
  9. ARG DEBIAN_FRONTEND=noninteractive
  10. RUN set -ex\
  11. && apt update -y \
  12. && apt install -y wget qrencode nginx-light jq \
  13. && apt clean -y \
  14. && chmod +x /entrypoint.sh \
  15. && mkdir -p /etc/shadowsocks-libev /v2raybin /wwwroot \
  16. && wget -O- "https://github.com/shadowsocks/v2ray-plugin/releases/download/${V2RAY_VERSION}/v2ray-plugin-linux-amd64-${V2RAY_VERSION}.tar.gz" | \
  17. tar zx -C /v2raybin \
  18. && install /v2raybin/v2ray-plugin_linux_amd64 /usr/bin/v2ray-plugin \
  19. && wget -O- "https://github.com/shadowsocks/shadowsocks-rust/releases/download/${SS-RUST_VERSION}/shadowsocks-${SS-RUST_VERSION}.x86_64-unknown-linux-gnu.tar.xz" | \
  20. tar zj -C /v2raybin \
  21. && install /v2raybin/ssserver /usr/bin/ss-server \
  22. && rm -rf /v2raybin
  23.  
  24. CMD /entrypoint.sh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement