diff --git a/frp/v0.21.0/Dockerfile b/frp/v0.21.0/Dockerfile index 16bda3b..8ba5717 100644 --- a/frp/v0.21.0/Dockerfile +++ b/frp/v0.21.0/Dockerfile @@ -13,7 +13,7 @@ ENV VERSION 0.21.0 RUN wget -O frp.tar.gz https://github.com/fatedier/frp/releases/download/v${VERSION}/frp_${VERSION}_linux_amd64.tar.gz && \ tar -xzf frp.tar.gz -C / && rm frp.tar.gz -RUN ln -s /frp_$VERSION_linux_amd64 /frp +RUN ln -s /frp_${VERSION}_linux_amd64 /frp WORKDIR /frp diff --git a/frp/v0.21.0/README.md b/frp/v0.21.0/README.md index 546375e..f3fb363 100644 --- a/frp/v0.21.0/README.md +++ b/frp/v0.21.0/README.md @@ -9,7 +9,6 @@ docker service create \ --network swarm-net \ --replicas 1 \ --detach=true \ - --endpoint-mode dnsrr \ --publish 7500:7500 \ --publish 7000:7000 \ --mount type=bind,source=/etc/localtime,target=/etc/localtime \ @@ -26,7 +25,6 @@ docker service create \ --network swarm-net \ --replicas 1 \ --detach=true \ - --endpoint-mode dnsrr \ --mount type=bind,source=/etc/localtime,target=/etc/localtime \ --mount type=bind,source=/data/frp/frpc.ini,target=/frp/frpc.ini \ newnius/frp:v0.21.0