FROM ubuntu:latest RUN apt update RUN apt install curl wget openssl lynx links htop -y RUN apt purge procps -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"