1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-26 05:27:31 +02:00
dockerfiles/frp/arm/Dockerfile

21 lines
438 B
Docker
Raw Normal View History

2018-02-14 22:15:39 +08:00
#
# Dockerfile for frp-arm
#
2019-10-21 08:55:22 +08:00
FROM arm32v7/alpine:3
2018-02-14 22:15:39 +08:00
MAINTAINER EasyPi Software Foundation
2020-02-09 19:56:46 +08:00
ENV FRP_VERSION 0.31.2
2018-02-14 22:15:39 +08:00
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"]