mirror of
https://github.com/byReqz/gotty-docker.git
synced 2025-06-14 11:57:46 +00:00
fix musl incompatibility
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
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 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 tar xvfz gotty_linux_amd64.tar.gz
|
||||
|
||||
ENV TERM=xterm
|
||||
|
Reference in New Issue
Block a user