-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathDockerfile
More file actions
43 lines (34 loc) · 1.55 KB
/
Dockerfile
File metadata and controls
43 lines (34 loc) · 1.55 KB
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
# NyxStrike — Kali Linux rolling base image
FROM kalilinux/kali-rolling:latest
# Avoid interactive prompts during package install
ENV DEBIAN_FRONTEND=noninteractive
# ── System basics + build deps ─────────────────────────────────────────────────
RUN apt-get update -qq && apt-get install -y --no-install-recommends \
ca-certificates \
curl \
gcc \
git \
python3 \
python3-dev \
python3-pip \
python3-venv \
sudo \
wget \
&& rm -rf /var/lib/apt/lists/*
# ── Install all NyxStrike tool dependencies via nyxstrike.sh -t ──────────────
WORKDIR /opt/nyxstrike
# Copy the repo into the image
COPY . .
# Run tool install (apt/cargo tools only).
RUN apt-get update -qq && \
chmod +x nyxstrike.sh && \
bash nyxstrike.sh -t && \
rm -rf /var/lib/apt/lists/*
# ── Runtime config ─────────────────────────────────────────────────────────────
# Bind to 0.0.0.0 inside the container so the mapped port is reachable
ENV NYXSTRIKE_HOST=0.0.0.0
ENV NYXSTRIKE_PORT=8888
EXPOSE 8888
# ── Entrypoint ─────────────────────────────────────────────────────────────────
RUN chmod +x docker-entrypoint.sh
ENTRYPOINT ["/opt/nyxstrike/docker-entrypoint.sh"]