From 22c9feb8f2972160eb9dbb0fdbc863663193c7e6 Mon Sep 17 00:00:00 2001 From: Nils Date: Tue, 22 Jun 2021 23:40:42 +0200 Subject: [PATCH] add Dockerfile for alpine --- Dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..6b33bc9 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM alpine:latest + +RUN apk update +RUN apk add curl jq tmux +RUN curl -s https://api.github.com/repos/yudai/gotty/releases/latest | jq -r '.assets[].browser_download_url' | grep "gotty_linux_amd64.tar.gz" | xargs curl -L -o gotty_linux_amd64.tar.gz +RUN tar xvfz gotty_linux_amd64.tar.gz + +ENV TERM=xterm +COPY run.sh ./run.sh +RUN chmod +x ./run.sh +ENTRYPOINT ["/run.sh"]