From 52920a1c852d6708f74b1e65d387db8620eebdf0 Mon Sep 17 00:00:00 2001 From: Antoine Rybacki <15911822+Lifeismana@users.noreply.github.com> Date: Tue, 9 Jul 2024 17:56:25 +0200 Subject: [PATCH] update docker container --- Dockerfile | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 41fb1cf..a577b2c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,11 @@ -FROM debian:bookworm-slim AS base -RUN echo '\nAcquire::Retries "100";\nAcquire::https::Timeout "240";\nAcquire::http::Timeout "240";\nAPT::Install-Recommends "false";\nAPT::Install-Suggests "false";\n' > /etc/apt/apt.conf.d/99custom && \ - apt-get update && apt-get install -y \ +FROM archlinux:base +RUN pacman -Syu --noconfirm \ git \ - ca-certificates \ - python3-pip \ - && rm -rf /var/lib/apt/lists/* \ - && pip install --upgrade git+https://github.com/P1sec/hermes-dec + python \ + python-pip \ + jadx +RUN python -m venv /data/.venv && \ +. /data/.venv/bin/activate && \ +pip install --upgrade git+https://github.com/P1sec/hermes-dec + +ENV PATH=/data/.venv/bin:$PATH \ No newline at end of file