Update: Dockerfile

This commit is contained in:
snowdream 2019-06-09 23:56:14 +08:00
parent 579133cc01
commit 5db5720bc1
2 changed files with 4 additions and 4 deletions

View File

@ -5,14 +5,14 @@ ENV FRP_VERSION 0.24.1
VOLUME [ /sys/fs/cgroup ]
RUN apk add --no-cache openrc \
&& cd root \
&& cd /root \
&& wget -c https://github.com/fatedier/frp/releases/download/v${FRP_VERSION}/frp_${FRP_VERSION}_linux_amd64.tar.gz \
&& tar zxvf frp_${FRP_VERSION}_linux_amd64.tar.gz \
&& cd frp_${FRP_VERSION}_linux_amd64/ \
&& cp frpc /usr/bin/ \
&& mkdir -p /etc/frp \
&& cp frpc.ini /etc/frp \
&& cd root \
&& cd /root \
&& rm frp_${FRP_VERSION}_linux_amd64.tar.gz \
&& rm -rf frp_${FRP_VERSION}_linux_amd64/

View File

@ -5,14 +5,14 @@ ENV FRP_VERSION 0.24.1
VOLUME [ /sys/fs/cgroup ]
RUN apk add --no-cache openrc \
&& cd root \
&& cd /root \
&& wget -c https://github.com/fatedier/frp/releases/download/v${FRP_VERSION}/frp_${FRP_VERSION}_linux_amd64.tar.gz \
&& tar zxvf frp_${FRP_VERSION}_linux_amd64.tar.gz \
&& cd frp_${FRP_VERSION}_linux_amd64/ \
&& cp frps /usr/bin/ \
&& mkdir -p /etc/frp \
&& cp frps.ini /etc/frp \
&& cd root \
&& cd /root \
&& rm frp_${FRP_VERSION}_linux_amd64.tar.gz \
&& rm -rf frp_${FRP_VERSION}_linux_amd64/