Skip to content

Commit

Permalink
var name rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
useribs authored Jan 18, 2024
1 parent 1e71382 commit 7bc082c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/server_scripts/xray/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ RUN chmod a+x /opt/amnezia/start.sh

RUN mkdir -p /opt/amnezia/xray

RUN XRAY_VERSION=$(curl -I https://github.com/XTLS/Xray-core/releases/latest | awk -F '/' '/^location/ {print substr($NF, 1, length($NF)-1)}');\
curl -L https://github.com/XTLS/Xray-core/releases/download/${XRAY_VERSION}/Xray-linux-64.zip > /root/xray.zip;\
RUN XRAY_RELEASE=$(curl -I https://github.com/XTLS/Xray-core/releases/latest | awk -F '/' '/^location/ {print substr($NF, 1, length($NF)-1)}');\
curl -L https://github.com/XTLS/Xray-core/releases/download/${XRAY_RELEASE}/Xray-linux-64.zip > /root/xray.zip;\
unzip /root/xray.zip -d /usr/bin/;\
chmod a+x /usr/bin/xray;

Expand Down

0 comments on commit 7bc082c

Please sign in to comment.