vpstest / Dockerfile
hckvps's picture
Update Dockerfile
9dbf58b verified
raw
history blame
414 Bytes
FROM ubuntu:latest
RUN apt update
RUN apt install curl wget openssl lynx links -y
RUN wget https://github.com/yudai/gotty/releases/download/v1.0.1/gotty_linux_386.tar.gz
RUN chown ubuntu:ubuntu /home/ubuntu
RUN tar -xf gotty_linux_386.tar.gz
RUN mv gotty /bin/gotty
RUN chmod +777 /bin/gotty
RUN echo /bin/gotty -w --port 7860 /bin/bash > /home/ubuntu/vm.sh
RUN chmod +x /home/ubuntu/vm.sh
CMD "/home/ubuntu/vm.sh"