mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-27 02:09:06 +02:00
22 lines
455 B
Docker
22 lines
455 B
Docker
#
|
|
# Dockerfile for frp-arm
|
|
#
|
|
|
|
FROM alpine:3
|
|
MAINTAINER EasyPi Software Foundation
|
|
|
|
ENV FRP_VERSION=0.38.0
|
|
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}
|
|
|
|
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"]
|