forked from OTRF/ATTACK-Python-Client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
29 lines (21 loc) · 673 Bytes
/
Dockerfile
File metadata and controls
29 lines (21 loc) · 673 Bytes
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
# ATTACK Python Client script: Jupyter Environment Dockerfile
# Author: Roberto Rodriguez (@Cyb3rWard0g)
# License: GPL-3.0
FROM cyb3rward0g/jupyter-base:0.0.3
LABEL maintainer="Roberto Rodriguez @Cyb3rWard0g"
LABEL description="Dockerfile ThreatHunter Playbook Project."
ARG NB_USER
ARG NB_UID
ENV NB_USER jovyan
ENV NB_UID 1000
ENV HOME /home/${NB_USER}
USER root
RUN adduser --disabled-password \
--gecos "Default user" \
--uid ${NB_UID} \
${NB_USER} \
&& python3 -m pip install --upgrade attackcti==0.3.0 pandas==0.25.2 altair vega
COPY notebooks/ ${HOME}
RUN chown -R ${NB_USER}:${NB_USER} ${HOME} ${JUPYTER_DIR}
USER ${NB_USER}
WORKDIR ${HOME}