forked from fsociety-team/fsociety
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
24 lines (19 loc) · 810 Bytes
/
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
FROM python:3.12.0a1-alpine
LABEL org.opencontainers.image.title="fsociety" \
org.opencontainers.image.description="A Modular Penetration Testing Framework" \
org.opencontainers.image.authors="fsociety-team <[email protected]>" \
org.opencontainers.image.licenses="MIT" \
org.opencontainers.image.source="https://github.com/fsociety-team/fsociety" \
org.opencontainers.image.documentation="https://fsociety.dev/"
# Environment variables for efficient builds
ENV PYTHONUNBUFFERED=1 \
PYTHONDONTWRITEBYTECODE=1 \
PYTHONHASHSEED=random \
PIP_NO_CACHE_DIR=off \
PIP_DISABLE_PIP_VERSION_CHECK=on \
PIP_DEFAULT_TIMEOUT=100
COPY . /fsociety
WORKDIR /fsociety
RUN apk add --update --no-cache git nmap && pip install -e .
CMD ["--info"]
ENTRYPOINT ["fsociety"]