2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2026-01-04 20:14:56 +01:00

add frp-arm

This commit is contained in:
kev
2018-02-14 22:15:39 +08:00
parent beeccceb41
commit 1f72480526
4 changed files with 36 additions and 1 deletions

20
frp/arm/Dockerfile Normal file
View File

@@ -0,0 +1,20 @@
#
# Dockerfile for frp-arm
#
FROM alpine
MAINTAINER EasyPi Software Foundation
ENV FRP_VERSION 0.16.0
ENV FRP_URL https://github.com/fatedier/frp/releases/download/v${FRP_VERSION}/frp_${FRP_VERSION}_linux_arm.tar.gz
WORKDIR /opt/frp
RUN set -xe \
&& apk add --no-cache curl tar \
&& curl -sSL $FRP_URL | tar xz --strip 1 \
&& apk del curl tar
EXPOSE 7000/tcp 7000/udp 7500/tcp
CMD ["./frps", "-c", "frps.ini"]