Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM kalilinux/kali-rolling:latest

LABEL website="https://github.com/iphoneintosh/kali-docker"
LABEL website="https://github.com/ProAdmin007/kali-docker-vnc-novnc"
LABEL description="Kali Linux with XFCE Desktop via VNC and noVNC in browser."

# Install kali packages
Expand All @@ -13,25 +14,24 @@ RUN apt-get -y install kali-linux-${KALI_METAPACKAGE}
RUN apt-get clean

# Install kali desktop

ARG KALI_DESKTOP=xfce
RUN apt-get -y install kali-desktop-${KALI_DESKTOP}
RUN apt-get -y install tightvncserver dbus dbus-x11 novnc net-tools

RUN apt-get -y install x11vnc dbus dbus-x11 novnc net-tools autocutsel
ENV USER root

ENV VNCEXPOSE 0
ENV VNCEXPOSE 1
ENV VNCPORT 5900
ENV VNCPWD changeme
ENV VNCDISPLAY 1920x1080
ENV VNCDEPTH 16

ENV NOVNCPORT 8080
ENV TZ=Europe/Amsterdam

# Install custom packages
# TODO: You can add your own packages here

RUN apt-get -y install nano
RUN apt-get install xfce4 xfce4-goodies tigervnc-standalone-server -y
RUN apt-get remove xfce4-power-manager tightvncserver -y
RUN apt-get install inetutils-ping htop -y

# Entrypoint

Expand Down