This commit is contained in:
2018-08-30 15:58:40 +08:00
parent 1af05679f1
commit 127cd7e584
2 changed files with 53 additions and 0 deletions

20
frp/v0.21.0/Dockerfile Normal file
View File

@@ -0,0 +1,20 @@
FROM alpine:3.8
MAINTAINER Newnius <newnius.cn@gmail.com>
USER root
# Prerequisites
RUN apk add --no-cache openssl
# Install frp
ENV FRP_VER 0.21.0
RUN wget -O frp.tar.gz https://github.com/fatedier/frp/releases/download/v$FRP_VER/frp_$FRP_VER_linux_amd64.tar.gz && \
tar -xzf frp.tar.gz -C / && rm frp.tar.gz
RUN ln -s /frp_$FRP_VER_linux_amd64 /frp
WORKDIR /frp
CMD ["/frp/frps", "-c /frp/frps.ini"]