1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/kcptun/Dockerfile

19 lines
447 B
Docker
Raw Normal View History

2016-08-10 09:25:53 +02:00
#
# Dockerfile for kcptun
#
2021-12-09 13:12:58 +02:00
FROM alpine:3
MAINTAINER EasyPi Software Foundation
2016-08-10 09:25:53 +02:00
2021-12-09 13:12:58 +02:00
ENV KCPTUN_VERSION=20210922
ENV KCPTUN_FILE=kcptun-linux-amd64-${KCPTUN_VERSION}.tar.gz
ENV KCPTUN_URL=https://github.com/xtaci/kcptun/releases/download/v${KCPTUN_VERSION}/${KCPTUN_FILE}
2016-08-10 09:25:53 +02:00
RUN set -xe \
&& apk add --no-cache curl \
&& curl -sSL ${KCPTUN_URL} | tar xz -C /usr/local/bin \
&& apk del curl
ENTRYPOINT ["server_linux_amd64"]
CMD ["--help"]