From 1a45702a1f78cccf000dd6ed8f1ebe0d63e9d2ae Mon Sep 17 00:00:00 2001 From: Jrohy Date: Sun, 12 Dec 2021 12:06:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96Dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- asset/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asset/Dockerfile b/asset/Dockerfile index ee43cc7d..bf4fd8db 100644 --- a/asset/Dockerfile +++ b/asset/Dockerfile @@ -13,7 +13,7 @@ ARG SERVICE_URL="https://raw.githubusercontent.com/Jrohy/trojan/master/asset/tro RUN yum install socat bash-completion crontabs iptables openssl unzip -y && \ LATEST_VERSION=`curl -H 'Cache-Control: no-cache' -s "$VERSION_CHECK" | grep 'tag_name' | cut -d\" -f4` && \ [[ $TARGETARCH =~ "arm64" ]] && ARCH="arm64" || ARCH="amd64" && \ - curl -L "$DOWNLAOD_URL/$LATEST_VERSION/trojan-linux-$ARCH" -o /usr/local/bin/trojan && \ + curl -fL "$DOWNLAOD_URL/$LATEST_VERSION/trojan-linux-$ARCH" -o /usr/local/bin/trojan && \ curl -L $SERVICE_URL -o /etc/systemd/system/trojan-web.service && \ chmod +x /usr/local/bin/trojan && \ echo "source <(trojan completion bash)" >> ~/.bashrc && \