mirror of
https://github.com/byReqz/gotty-docker.git
synced 2024-12-03 11:31:51 +00:00
use the updated fork
This commit is contained in:
parent
80ca4a40cd
commit
1ca8712567
@ -2,7 +2,7 @@ FROM debian:sid
|
||||
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y 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 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
|
||||
RUN tar xvfz gotty_linux_amd64.tar.gz
|
||||
|
||||
ENV TERM=xterm-256color
|
||||
|
@ -2,7 +2,7 @@ FROM alpine:latest
|
||||
|
||||
RUN apk update
|
||||
RUN apk add curl jq tmux libc6-compat
|
||||
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 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
|
||||
RUN tar xvfz gotty_linux_amd64.tar.gz
|
||||
|
||||
ENV TERM=xterm-256color
|
||||
|
Loading…
Reference in New Issue
Block a user