vpstest / Dockerfile
hckvps's picture
Update Dockerfile
aefac2a verified
raw
history blame
416 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 /home/ubuntu/gotty
RUN chmod +777 /home/ubuntu/gotty
RUN echo ./gotty -w --port 7860 /bin/bash > /home/ubuntu/vm.sh
RUN chmod +x /home/ubuntu/vm.sh
CMD "./vm.sh"