-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updating local dockerfile to match pre-build image
this makes it easier for user changes to get leveraged
- Loading branch information
1 parent
1ef30a3
commit 7314f42
Showing
1 changed file
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |