1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 03:48:44 +00:00
dockerfiles/kcptun/Dockerfile

19 lines
443 B
Docker
Raw Normal View History

2016-08-10 07:25:53 +00:00
#
# Dockerfile for kcptun
#
FROM alpine
2017-05-07 23:05:07 +00:00
MAINTAINER kev <noreply@easypi.pro>
2016-08-10 07:25:53 +00:00
2017-12-09 11:15:07 +00:00
ENV KCPTUN_VERSION 20171201
2016-08-10 07:25:53 +00:00
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}
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"]