1
0
mirror of https://github.com/lukaszlach/kali-desktop synced 2026-08-05 16:12:41 +02:00

task: initial commit

This commit is contained in:
Łukasz Lach
2018-08-15 09:42:32 +02:00
parent a8cd0f9635
commit 5e1cdae0f4
14 changed files with 289 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
FROM kalilinux/kali-linux-docker
ARG KALI_DESKTOP
RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get update && \
apt-get install -y \
curl sudo apt-transport-https gnupg \
x11vnc xvfb novnc dbus-x11 \
kali-defaults kali-desktop-${KALI_DESKTOP} && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
EXPOSE 5900/tcp 6080/tcp
ENV DISPLAY :1
ENV KALI_DESKTOP ${KALI_DESKTOP}
ENTRYPOINT ["/init"]
ARG S6_OVERLAY_VERSION=1.21.4.0
ADD https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-amd64.tar.gz /tmp/
RUN gunzip -c /tmp/s6-overlay-amd64.tar.gz | tar -xf - -C / && \
rm -f /tmp/s6-overlay-amd64.tar.gz
COPY etc/ /etc