1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-30 18:51:24 +00:00
dockerfiles/kcptun/Dockerfile

20 lines
485 B
Docker
Raw Normal View History

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