update v0.49.0
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user