apply ENV to all file or folder names

This commit is contained in:
eli 2022-11-19 12:56:31 +08:00
parent 5aa94f1a96
commit 1d3bf6204d
1 changed files with 3 additions and 2 deletions

View File

@ -3,8 +3,9 @@ RUN apk update && apk add --no-cache ca-certificates tzdata
ENV FRP_VERSION 0.45.0
ENV MACHINE linux_amd64
RUN wget https://github.com/fatedier/frp/releases/download/v${FRP_VERSION}/frp_${FRP_VERSION}_${MACHINE}.tar.gz
RUN tar zxvf frp_0.45.0_linux_amd64.tar.gz
RUN mv frp_0.45.0_linux_amd64 /frpc
RUN tar zxvf frp_${FRP_VERSION}_${MACHINE}.tar.gz
RUN mv frp_${FRP_VERSION}_${MACHINE} /frpc
RUN rm frp_${FRP_VERSION}_${MACHINE}.tar.gz
ENV TZ=Asia/Shanghai
RUN mkdir /conf
VOLUME /conf