mirror of
https://github.com/newnius/Dockerfiles.git
synced 2025-06-06 08:11:54 +00:00
21 lines
415 B
Docker
21 lines
415 B
Docker
FROM alpine:3
|
|
|
|
MAINTAINER Newnius <newnius.cn@gmail.com>
|
|
|
|
USER root
|
|
|
|
# Prerequisites
|
|
RUN apk add --no-cache openssl
|
|
|
|
# Install frp
|
|
ENV VERSION 0.33.0
|
|
|
|
RUN wget -O frp.tar.gz https://github.com/fatedier/frp/releases/download/v${VERSION}/frp_${VERSION}_linux_arm64.tar.gz && \
|
|
tar -xzf frp.tar.gz -C / && rm frp.tar.gz
|
|
|
|
RUN mv /frp_${VERSION}_linux_arm64 /frp
|
|
|
|
WORKDIR /frp
|
|
|
|
CMD ["/frp/frps", "-c", "/frp/frps.ini"]
|