Skip to content

Commit

Permalink
add jre
Browse files Browse the repository at this point in the history
  • Loading branch information
Lifeismana committed Jul 10, 2024
1 parent 5985351 commit b17d1ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@ RUN pacman -Syu --noconfirm \
git \
python \
python-pip \
jre-openjdk \
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" ]
1 change: 1 addition & 0 deletions setup.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
#!/bin/bash
# do we really have to source profile for java to be in the path?
cd $GITHUB_WORKSPACE && ./script.sh

0 comments on commit b17d1ff

Please sign in to comment.