update v0.49.0

This commit is contained in:
Stille 2023-05-29 08:36:08 +08:00
parent bf82718a43
commit 9f43d1d066
4 changed files with 10 additions and 6 deletions

View File

@ -1,7 +1,7 @@
FROM alpine:3.8
LABEL maintainer="Stille <stille@ioiox.com>"
ENV VERSION 0.48.0
ENV VERSION 0.49.0
ENV TZ=Asia/Shanghai
WORKDIR /
@ -9,8 +9,12 @@ RUN apk add --no-cache tzdata \
&& ln -snf /usr/share/zoneinfo/${TZ} /etc/localtime \
&& echo ${TZ} > /etc/timezone
RUN if [ "$(uname -m)" = "x86_64" ]; then export PLATFORM=amd64 ; else if [ "$(uname -m)" = "aarch64" ]; then export PLATFORM=arm64 ; fi fi \
&& wget --no-check-certificate https://github.com/fatedier/frp/releases/download/v${VERSION}/frp_${VERSION}_linux_${PLATFORM}.tar.gz \
RUN if [ "$(uname -m)" = "x86_64" ]; then export PLATFORM=amd64 ; \
elif [ "$(uname -m)" = "aarch64" ]; then export PLATFORM=arm64 ; \
elif [ "$(uname -m)" = "armv7" ]; then export PLATFORM=arm ; \
elif [ "$(uname -m)" = "armv7l" ]; then export PLATFORM=arm ; \
elif [ "$(uname -m)" = "armhf" ]; then export PLATFORM=arm ; fi \
&& wget --no-check-certificate https://github.com/fatedier/frp/releases/download/v${VERSION}/frp_${VERSION}_linux_${PLATFORM}.tar.gz \
&& tar xzf frp_${VERSION}_linux_${PLATFORM}.tar.gz \
&& cd frp_${VERSION}_linux_${PLATFORM} \
&& mkdir /frp \

View File

@ -45,7 +45,7 @@ wget https://github.ioiox.com/stilleshan/frps/raw/branch/master/frps_linux_unins
- Push 仓库到 GitHub
#### 修改 frps_linux_install.sh 脚本
`FRP_VERSION=0.48.0` 可根据原版项目更新自行修改为最新版本.
`FRP_VERSION=0.49.0` 可根据原版项目更新自行修改为最新版本.
`REPO=stilleshan/frps` 由于 **fork** 到你自己的仓库,需修改`stilleshan`为你的 GitHub 账号ID.
#### 执行一键脚本

View File

@ -12,7 +12,7 @@ Font="\033[0m"
# fonts color
# variable
FRP_VERSION=0.48.0
FRP_VERSION=0.49.0
REPO=stilleshan/frps
WORK_PATH=$(dirname $(readlink -f $0))
FRP_NAME=frps

View File

@ -14,7 +14,7 @@ Font="\033[0m"
# variable
WORK_PATH=$(dirname $(readlink -f $0))
FRP_NAME=frps
FRP_VERSION=0.48.0
FRP_VERSION=0.49.0
FRP_PATH=/usr/local/frp
# 停止frpc