Skip to content

Commit

Permalink
updating local dockerfile to match pre-build image
Browse files Browse the repository at this point in the history
this makes it easier for user changes to get leveraged
  • Loading branch information
its-a-feature committed Apr 14, 2024
1 parent 1ef30a3 commit 7314f42
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion Payload_Type/apfell/Dockerfile
Original file line number Diff line number Diff line change
@@ -1 +1,22 @@
FROM ghcr.io/mythicagents/apfell:v0.0.1.4
FROM python:3.11-slim-bookworm as builder

COPY [".docker/requirements.txt", "requirements.txt"]
RUN apt-get -y update && \
apt-get -y upgrade && \
apt-get install --no-install-recommends \
software-properties-common apt-utils make build-essential libssl-dev zlib1g-dev libbz2-dev \
xz-utils tk-dev libffi-dev liblzma-dev libsqlite3-dev protobuf-compiler \
binutils-aarch64-linux-gnu libc-dev-arm64-cross -y
RUN python3 -m pip wheel --wheel-dir /wheels -r requirements.txt

FROM python:3.11-slim-bookworm

COPY --from=builder /wheels /wheels

RUN pip install --no-cache /wheels/*

WORKDIR /Mythic/

COPY [".", "."]

CMD ["python3", "main.py"]

0 comments on commit 7314f42

Please sign in to comment.