Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
@@ -1,9 +1,10 @@
|
|
1 |
-
FROM
|
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
|
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"]
|