Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions mythic_python_base/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11-buster
FROM python:3.11-slim-bookworm as base

ARG CA_CERTIFICATE
ARG NPM_REGISTRY
Expand All @@ -8,6 +8,8 @@ ARG DOCKER_REGISTRY_MIRROR
ARG HTTP_PROXY
ARG HTTPS_PROXY

FROM base as builder

RUN apt-get -y update && \
apt-get -y upgrade && \
apt-get install --no-install-recommends \
Expand All @@ -17,5 +19,8 @@ RUN apt-get -y update && \
rm -rf /var/lib/apt/lists/* && \
apt-get clean

COPY requirements.txt /
RUN pip3 install -r /requirements.txt
RUN pip3 install mythic-container==0.2.11-rc07 pycryptodome

FROM base

COPY --from=builder /usr/local/lib/python3.11/ /usr/local/lib/python3.11/
9 changes: 0 additions & 9 deletions mythic_python_base/requirements.txt

This file was deleted.