fix v2ray switch

This commit is contained in:
mercury
2023-06-23 03:38:11 +04:00
parent c421dc29b7
commit 4793d1549c
6 changed files with 31 additions and 36 deletions
+1 -3
View File
@@ -4,12 +4,10 @@ run apk add --no-cache --virtual .build-deps alpine-sdk linux-headers openssl-de
&& mkdir /mtproxy/patches && wget -P /mtproxy/patches https://raw.githubusercontent.com/alexdoesh/mtproxy/master/patches/randr_compat.patch \
&& cd /mtproxy/sources && patch -p0 -i /mtproxy/patches/randr_compat.patch \
&& make \
&& mkdir /MTProxy \
&& mkdir /root/.ssh \
&& cp /mtproxy/sources/objs/bin/mtproto-proxy /MTProxy \
&& cp /mtproxy/sources/objs/bin/mtproto-proxy /usr/bin \
&& rm -rf /mtproxy \
&& apk del .build-deps\
&& apk add --no-cache --update curl openssh \
&& ln -s /usr/lib/libcrypto.so.41 /usr/lib/libcrypto.so.1.0.0
env PATH="$PATH:/MTProxy"
env ENV="/root/.ashrc"