Illumotion commited on
Commit
99f63c9
·
verified ·
1 Parent(s): eda83f7

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -1,9 +1,10 @@
1
- FROM alpine
2
  USER root
3
  COPY config.json /etc/xray/config.json
4
  RUN apk update \
5
  && apk add --no-cache ca-certificates busybox \
 
6
  && busybox wget https://github.com/XTLS/Xray-core/releases/latest/download/Xray-linux-64.zip \
7
  && busybox unzip Xray-linux-64.zip \
8
- && busybox mv xray /usr/bin/xray
9
  ENTRYPOINT ["xray", "-c", "/etc/xray/config.json"]
 
1
+ FROM ghcr.io/tailscale/tailscale:latest
2
  USER root
3
  COPY config.json /etc/xray/config.json
4
  RUN apk update \
5
  && apk add --no-cache ca-certificates busybox \
6
+ && update-ca-certificates
7
  && busybox wget https://github.com/XTLS/Xray-core/releases/latest/download/Xray-linux-64.zip \
8
  && busybox unzip Xray-linux-64.zip \
9
+ && busybox mv * /usr/bin/xray
10
  ENTRYPOINT ["xray", "-c", "/etc/xray/config.json"]