added sing-box from repo (#12)

This commit is contained in:
runalsh
2024-04-29 15:06:52 +03:00
committed by GitHub
parent 6a31985863
commit 256e43352a
+2 -6
View File
@@ -22,14 +22,10 @@ RUN apk add --no-cache --update php81 \
curl \
git \
py3-qt5 \
sing-box \
&& wget https://github.com/ameshkov/dnslookup/releases/download/v1.9.1/dnslookup-linux-amd64-v1.9.1.tar.gz \
&& tar -xf dnslookup-linux-amd64-v1.9.1.tar.gz \
&& mv linux-amd64/dnslookup /usr/bin \
&& rm dnslookup-linux-amd64-v1.9.1.tar.gz \
&& rm -rf /linux-amd64 \
&& wget https://github.com/SagerNet/sing-box/releases/download/v1.8.11/sing-box-1.8.11-linux-amd64.tar.gz \
&& tar -xf sing-box-1.8.11-linux-amd64.tar.gz \
&& mv sing-box-1.8.11-linux-amd64/sing-box /usr/bin \
&& rm sing-box-1.8.11-linux-amd64.tar.gz \
&& rm -rf /sing-box-1.8.11-linux-amd64
&& rm -rf /linux-amd64
ENV ENV="/root/.ashrc"