File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -82,24 +82,19 @@ <h2>1. Create the Dockerfile</h2>
8282
8383ENV DEBIAN_FRONTEND=noninteractive
8484
85- # Sistema base + herramientas
8685RUN apt-get update && apt-get install -y --no-install-recommends \
8786 python3 python3-pip tmux git wget ca-certificates sudo && \
8887 apt-get clean && rm -rf /var/lib/apt/lists/*
8988
90- # Clonamos el framework
9189WORKDIR /opt
9290RUN git clone https://github.com/CoreSecFrame/CoreSecFrame.git coresecframe
9391WORKDIR /opt/coresecframe
9492
95- # Forzamos la instalación de dependencias a nivel sistema
9693RUN pip3 install --break-system-packages --upgrade pip
9794RUN pip3 install --break-system-packages -r requirements.txt
9895
99- # Creamos alias
10096RUN ln -s /opt/coresecframe/main.py /usr/local/bin/coresecframe && chmod +x /usr/local/bin/coresecframe
10197
102- # Entrypoint por defecto
10398CMD ["coresecframe"]
10499
105100</ code > </ pre >
You can’t perform that action at this time.
0 commit comments