diff --git a/dockerfile/php.dockerfile b/dockerfile/php.dockerfile index c876c0a..711aa43 100644 --- a/dockerfile/php.dockerfile +++ b/dockerfile/php.dockerfile @@ -1,6 +1,5 @@ ARG image FROM $image -RUN echo "https://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories RUN apk add --no-cache --update php81 \ php81-mbstring \ php81-session \ @@ -23,10 +22,14 @@ 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 + && 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 ENV ENV="/root/.ashrc"