hckvps commited on
Commit
d3bda1a
·
verified ·
1 Parent(s): 50e1ba5

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +27 -0
Dockerfile ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM ubuntu:latest
2
+ ENV DEBIAN_FRONTEND=noninteractive
3
+ RUN apt-get update && apt-get install -y \
4
+ lxde \
5
+ aqemu \
6
+ sudo \
7
+ curl \
8
+ wget \
9
+ aria2 \
10
+ qemu-system-x86 \
11
+ htop \
12
+ firefox \
13
+ tigervnc-standalone-server \
14
+ python3-pip \
15
+ python3-websockify \
16
+ python3 \
17
+ git
18
+
19
+ RUN git clone https://github.com/novnc/noVNC.git /home/user/noVNC
20
+ RUN useradd -m -u 1000 user && \
21
+ usermod -aG sudo user && \
22
+ echo "%sudo ALL=(ALL:ALL) NOPASSWD:ALL" > /etc/sudoers.d/user && \
23
+ chmod 0440 /etc/sudoers.d/user
24
+ RUN sudo chown -R user /home/user
25
+ ENV HOME=/home/user \
26
+ PATH=/home/user/.local/bin:$PATH
27
+ CMD vncserver -SecurityTypes None -geometry 1366x768 && ./noVNC/utils/novnc_proxy --vnc localhost:5901 --listen 0.0.0.0:7860