ar08 commited on
Commit
959cd8f
·
verified ·
1 Parent(s): 2a2f427

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +21 -0
Dockerfile ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use Kali Linux base image
2
+ FROM kalilinux/kali-rolling
3
+
4
+ # Install necessary packages
5
+ RUN apt update && apt install -y \
6
+ kali-linux-default \
7
+ novnc \
8
+ websockify \
9
+ xfce4 \
10
+ xfce4-goodies \
11
+ tightvncserver && \
12
+ apt clean
13
+
14
+ # Set up VNC server
15
+ RUN mkdir ~/.vnc && echo "password" | vncpasswd -f > ~/.vnc/passwd && chmod 600 ~/.vnc/passwd
16
+
17
+ # Set the default command to run the VNC server
18
+ CMD ["tightvncserver", ":1", "-geometry", "1280x800", "-depth", "24"]
19
+
20
+ # Expose the ports for noVNC
21
+ EXPOSE 6080