From b9dfff6afb1d14d93c0565c77bd3a10b25988a68 Mon Sep 17 00:00:00 2001 From: Antoine Rybacki <15911822+Lifeismana@users.noreply.github.com> Date: Wed, 10 Jul 2024 09:08:46 +0200 Subject: [PATCH] add jre --- Dockerfile | 3 ++- setup.sh | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2a2ed1c..2565ae7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,13 +8,14 @@ RUN pacman -Syu --noconfirm \ git \ python \ python-pip \ + jre-openjdk-headless \ jadx \ unzip 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 +ENV PATH=/usr/lib/jvm/default/bin:/data/.venv/bin:$PATH COPY --from=build /root/.cargo/bin/* /usr/local/bin/ COPY setup.sh /data/setup.sh CMD [ "/data/setup.sh" ] \ No newline at end of file diff --git a/setup.sh b/setup.sh index c386210..84439f7 100755 --- a/setup.sh +++ b/setup.sh @@ -1,2 +1,3 @@ #!/bin/bash +java --version cd $GITHUB_WORKSPACE && ./script.sh \ No newline at end of file