Sign inSign up

anxing131/frps

By anxing131

Updated about 7 years ago

frps

Image
0

638

anxing131/frps repository overview

FROM alpine:latest MAINTAINER [email protected]

#forked from https://github.com/clangcn/frp-docker/blob/master/frps-docker/Dockerfile

ENV frps_version=0.27.1
frps_DIR=/usr/local/frps

RUN set -ex &&
frps_latest=https://github.com/fatedier/frp/releases/download/v${frps_version}/frp_${frps_version}_linux_amd64.tar.gz &&
frps_latest_filename=frp_${frps_version}linux_amd64.tar.gz &&
apk add --no-cache pcre bash &&
apk add --no-cache --virtual TMP wget tar &&
[ ! -d ${frps_DIR} ] && mkdir -p ${frps_DIR} && cd ${frps_DIR} &&
wget --no-check-certificate -q ${frps_latest} -O ${frps_latest_filename} &&
tar xzf ${frps_latest_filename} &&
mv frp
${frps_version}linux_amd64/frps ${frps_DIR}/frps &&
apk --no-cache del TMP &&
rm -rf /var/cache/apk/* ~/.cache ${frps_DIR}/${frps_latest_filename} ${frps_DIR}/frp
${frps_version}_linux_amd64

VOLUME /conf

ENTRYPOINT ["/usr/local/frps/frps", "-c", "/conf/frps.ini"]

startup command

docker run -id --name frps -v $(pwd)/frps.ini:/conf/frps.ini --network host anxing131/frps

Tag summary

Content type

Image

Digest

Size

8 MB

Last updated

about 7 years ago

docker pull anxing131/frps