2018-02-14 16:15:39 +02:00
|
|
|
#
|
|
|
|
# Dockerfile for frp-arm
|
|
|
|
#
|
|
|
|
|
2021-10-21 11:36:07 +02:00
|
|
|
FROM alpine:3
|
2018-02-14 16:15:39 +02:00
|
|
|
MAINTAINER EasyPi Software Foundation
|
|
|
|
|
2021-10-21 11:36:07 +02:00
|
|
|
ENV FRP_VERSION=0.37.1
|
2021-02-12 13:55:46 +02:00
|
|
|
ENV FRP_FILE=frp_${FRP_VERSION}_linux_arm.tar.gz
|
|
|
|
ENV FRP_URL=https://github.com/fatedier/frp/releases/download/v${FRP_VERSION}/${FRP_FILE}
|
2018-02-14 16:15:39 +02:00
|
|
|
|
|
|
|
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"]
|