mirror of https://github.com/stilleshan/frpc.git
Create Dockerfile
This commit is contained in:
parent
b52cc53cf3
commit
de06b13afb
|
@ -0,0 +1,18 @@
|
||||||
|
FROM alpine:3.8
|
||||||
|
MAINTAINER Stille <stille@ioiox.com>
|
||||||
|
|
||||||
|
WORKDIR /
|
||||||
|
ENV FRP_VERSION 0.30.0
|
||||||
|
|
||||||
|
RUN set -x && \
|
||||||
|
wget --no-check-certificate https://github.com/fatedier/frp/releases/download/v${FRP_VERSION}/frp_${FRP_VERSION}_linux_amd64.tar.gz && \
|
||||||
|
tar xzf frp_${FRP_VERSION}_linux_amd64.tar.gz && \
|
||||||
|
cd frp_${FRP_VERSION}_linux_amd64 && \
|
||||||
|
mkdir /frp && \
|
||||||
|
mv frpc frpc.ini /frp && \
|
||||||
|
cd .. && \
|
||||||
|
rm -rf *.tar.gz frp_${FRP_VERSION}_linux_amd64
|
||||||
|
|
||||||
|
VOLUME /frp
|
||||||
|
|
||||||
|
CMD /frp/frpc -c /frp/frpc.ini
|
Loading…
Reference in New Issue