455b9cea07
* added sing-box from repo (#12) * edge repo for sing-box (#13) * added sing-box from repo * add testing repo for sing-box * Revert "added sing-box from repo (#12)" This reverts commit256e43352a. * Revert "edge repo for sing-box (#13)" This reverts commitbb1ac60acc. * Update xray.dockerfile --------- Co-authored-by: mercury <mercury.kd@gmail.com>
13 lines
453 B
Docker
13 lines
453 B
Docker
ARG image
|
|
FROM $image
|
|
RUN apk add openssh openssl jq \
|
|
&& mkdir /root/.ssh \
|
|
&& wget -O Xray-linux-64.zip $(wget -q -O - https://api.github.com/repos/XTLS/Xray-core/releases/latest | grep browser_download_url | cut -d\" -f4 | egrep 'Xray-linux-64.zip$') \
|
|
&& unzip Xray-linux-64.zip \
|
|
&& mv xray /usr/bin/ \
|
|
&& rm Xray-linux-64.zip \
|
|
&& rm geoip.dat \
|
|
&& rm geosite.dat \
|
|
&& chmod +x /usr/bin/xray
|
|
ENV ENV="/root/.ashrc"
|