docker-frp/Dockerfile
quackerd c80cd83cbb
All checks were successful
continuous-integration/drone/push Build is passing
revert to 0.34.0 due to no assets
2020-10-07 00:49:28 +00:00

23 lines
418 B
Docker

#
# Dockerfile for frp
# Based on: vimagick/frp
#
FROM alpine
ENV FRP_VERSION 0.34.0
ENV FRP_URL https://github.com/fatedier/frp/releases/download/v${FRP_VERSION}/frp_${FRP_VERSION}_linux_amd64.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
COPY ./run.sh /opt/run.sh
RUN chmod +x /opt/run.sh
CMD ["/opt/run.sh"]