File size: 443 Bytes
b6561b1 08a959f b6561b1 9dbf58b aefac2a 8b5ecca |
1 2 3 4 5 6 7 8 9 10 11 12 |
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" |