ADIJASA commited on
Commit
d95a8b8
·
verified ·
1 Parent(s): 8a6c411

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -1,7 +1,7 @@
1
- FROM alpine:3.18
2
- RUN echo "http://dl-cdn.alpinelinux.org/alpine/v3.18/community" >> /etc/apk/repositories && apk update && apk add --no-cache shadowsocks-libev curl
3
  RUN curl -L -o /usr/bin/v2ray-plugin https://github.com/shadowsocks/v2ray-plugin/releases/download/v1.3.1/v2ray-plugin-linux-amd64-v1.3.1.tar.gz && tar -xf /usr/bin/v2ray-plugin -C /usr/bin/ && mv /usr/bin/v2ray-plugin_linux_amd64 /usr/bin/v2ray-plugin && chmod +x /usr/bin/v2ray-plugin
4
- RUN adduser -D -H -s /bin/false ghostuser
5
  ENV PORT=7860
6
  ENV PASSWORD=M0b1l3L3g3nd
7
  ENV METHOD=chacha20-ietf-poly1305
 
1
+ FROM debian:bullseye-slim
2
+ RUN apt-get update && apt-get install -y shadowsocks-libev curl tar && rm -rf /var/lib/apt/lists/*
3
  RUN curl -L -o /usr/bin/v2ray-plugin https://github.com/shadowsocks/v2ray-plugin/releases/download/v1.3.1/v2ray-plugin-linux-amd64-v1.3.1.tar.gz && tar -xf /usr/bin/v2ray-plugin -C /usr/bin/ && mv /usr/bin/v2ray-plugin_linux_amd64 /usr/bin/v2ray-plugin && chmod +x /usr/bin/v2ray-plugin
4
+ RUN useradd -m ghostuser
5
  ENV PORT=7860
6
  ENV PASSWORD=M0b1l3L3g3nd
7
  ENV METHOD=chacha20-ietf-poly1305