Skip to content
Open
Show file tree
Hide file tree
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
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y apt-utils bash-completion firefox-esr python3-pip python3-dev build-essential

RUN apt-get update && \
apt-get install -y --no-install-recommends evince file-roller gnome-themes-standard gpicview gtk2-engines-pixbuf ttf-ubuntu-font-family xfce4 xfce4-whiskermenu-plugin xorg xserver-xorg xfce4-indicator-plugin xfce4-terminal numix-icon-theme numix-icon-theme-circle
apt-get install -y --no-install-recommends evince file-roller gpicview xfce4 xfce4-whiskermenu-plugin xorg xserver-xorg xfce4-terminal

RUN apt-get install -y xrdp locales supervisor sudo ibus ibus-mozc dbus dbus-x11 kali-desktop-xfce

Expand All @@ -16,17 +16,17 @@ RUN locale-gen en_US && \
git clone https://github.com/novnc/noVNC.git /root/noVNC && \
git clone https://github.com/novnc/websockify.git /root/noVNC/utils/websockify

RUN mkdir -p /var/run/dbus
RUN mkdir -p /var/run/dbus

RUN useradd -m -s /bin/bash -G sudo xuser

RUN ln -s /root/noVNC/vnc_lite.html /root/noVNC/index.html

RUN echo "xfce4-session" > /etc/skel/.xsession

RUN apt-get install -y xfce4-taskmanager mousepad wget

RUN wget https://downloads.hackerops.dev/file/hackerops/BHIS_Basic_V1.png -O /usr/share/backgrounds/xfce/default.jpg -O /usr/share/backgrounds/xfce/default.jpg
RUN wget https://downloads.hackerops.dev/file/hackerops/BHIS_Basic_V1.png -O /usr/share/backgrounds/xfce/default.jpg

RUN apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "2.4"
services:
kali_xfce:
build: ./
Expand All @@ -13,5 +12,6 @@ services:
cap_add:
- NET_ADMIN
restart: always
# mem_limit: 4g
# volumes:
# - ./home:/home/xuser
# - ./home:/home/xuser