Create Dockerfile
Browse files- Dockerfile +9 -0
Dockerfile
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM ubuntu:latest
|
2 |
+
RUN apt update
|
3 |
+
RUN apt install curl wget openssl lynx links -y
|
4 |
+
RUN wget https://github.com/yudai/gotty/releases/download/v1.0.1/gotty_linux_386.tar.gz
|
5 |
+
RUN chown ubuntu:ubuntu /home/ubuntu
|
6 |
+
RUN tar -xf gotty_linux_386.tar.gz
|
7 |
+
RUN mv gotty /home/ubuntu/gotty
|
8 |
+
RUN chmod +777 /home/ubuntu/gotty
|
9 |
+
CMD ["~/gotty", "--port 7860" "-w", "/bin/bash"]
|