gotty-docker/Debian/Dockerfile

12 lines
394 B
Docker
Raw Normal View History

2021-06-23 19:39:56 +00:00
FROM debian:sid
RUN apt-get update
RUN apt-get install -y curl jq tmux
2022-04-08 10:45:20 +00:00
RUN curl -s https://api.github.com/repos/sorenisanerd/gotty/releases/latest | jq -r '.assets[].browser_download_url' | grep "linux_amd64.tar.gz" | xargs curl -L -o gotty_linux_amd64.tar.gz
2021-06-23 19:39:56 +00:00
RUN tar xvfz gotty_linux_amd64.tar.gz
2021-06-25 20:08:54 +00:00
ENV TERM=xterm-256color
2021-06-23 19:39:56 +00:00
COPY run-deb.sh ./run.sh
RUN chmod +x ./run.sh
ENTRYPOINT ["/run.sh"]