-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
53 lines (39 loc) · 1.17 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
FROM hadenlabs/kali-linux-full:core as base
# set environment variables
ENV DEBIAN_FRONTEND noninteractive
ENV BASE_DEPS \
bash \
pciutils \
bash-completion
FROM base as kali-meta-packages
ENV KALI_META_PACKAGES \
kali-tools-top10 \
kali-tools-web
RUN apt-get -y update \
&& apt-get install -y --no-install-recommends \
${BASE_DEPS} \
${KALI_META_PACKAGES} \
&& apt-get clean \
&& apt-get purge -y \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
FROM kali-meta-packages as crossover
ARG VERSION=0.0.0
LABEL maintainer="Team Hadenlabs <[email protected]>" \
org.label-schema.vcs-url="https://github.com/hadenlabs/docker-kali-linux" \
org.label-schema.version=$VERSION \
org.label-schema.schema-version="1.0"
# set environment variables
ENV DEBIAN_FRONTEND noninteractive
ENV KALI_PACKAGES \
dnsmap \
dnswalk
RUN apt-get -y update \
&& apt-get install -y --no-install-recommends \
${KALI_PACKAGES} \
&& apt-get clean \
&& apt-get purge -y \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
WORKDIR /data
CMD ["/bin/bash"]