Dockerized nchat (a terminal-based chat client with support for Telegram and WhatsApp)
1.5K
docker run -it --name nchat --rm -v nchat:/root/.nchat evaladao/nchat:latest-ubuntu
Protocols:
Select protocol (3):
UNSUPPORTED PLATFORM: The WhatsApp protocol implementation officially only supports glibc on Linux. For details, refer to https://github.com/d99kris/nchat/issues/204 Failed to load /usr/local/bin/../lib/libwmchat.so, skipping profile. Setup failed sh: tput: not found unexpected termination 11 callstack:
FROM alpine:latest
MAINTAINER Kristofer Berggren https://d99kris.github.io/
RUN apk update && apk add git
WORKDIR /app
RUN git clone https://github.com/d99kris/nchat
WORKDIR /app/nchat
RUN sed -i 's/bash/sh/g ; s/sudo//g' make.sh
RUN apk add go
ARG GOLANG_VERSION=1.18
RUN apk update && apk add go gcc bash musl-dev openssl-dev ca-certificates && update-ca-certificates
RUN cd /tmp/ && wget https://dl.google.com/go/go$GOLANG_VERSION.src.tar.gz && tar -C /usr/local -xzf go$GOLANG_VERSION.src.tar.gz
RUN cd /usr/local/go/src && ./make.bash
ENV PATH=$PATH:/usr/local/go/bin
RUN rm /tmp/go$GOLANG_VERSION.src.tar.gz
RUN apk del go
RUN go version
RUN ./make.sh deps
RUN ./make.sh build && ./make.sh install
RUN rm -Rf /app/nchat
VOLUME /root/.nchat
CMD if [[ $(ls -1 ~/.nchat/profiles/ | grep -v version | wc -l) -ge 1 ]] ; then nchat ; else nchat --setup ; fi
Content type
Image
Digest
sha256:c3d3706a4…
Size
546.4 MB
Last updated
over 2 years ago
docker pull evaladao/nchat