tst / Dockerfile
ar08's picture
Create Dockerfile
959cd8f verified
raw
history blame
521 Bytes
# Use Kali Linux base image
FROM kalilinux/kali-rolling
# Install necessary packages
RUN apt update && apt install -y \
kali-linux-default \
novnc \
websockify \
xfce4 \
xfce4-goodies \
tightvncserver && \
apt clean
# Set up VNC server
RUN mkdir ~/.vnc && echo "password" | vncpasswd -f > ~/.vnc/passwd && chmod 600 ~/.vnc/passwd
# Set the default command to run the VNC server
CMD ["tightvncserver", ":1", "-geometry", "1280x800", "-depth", "24"]
# Expose the ports for noVNC
EXPOSE 6080