From 0ad2cc49bf721b749f2506a6e6d48b6aeccc579f 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 --- .github/workflows/build.yml | 3 +-- Dockerfile | 3 ++- script.sh | 6 ++++++ 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 61c5fee..da2ae5d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,9 +5,8 @@ on: - cron: '0 5 * * 1' push: branches: [ "main" ] - # Publish semver tags as releases. paths: - - 'scripts.sh' + - 'setup.sh' - 'Dockerfile' - '.github/workflows/build.yml' diff --git a/Dockerfile b/Dockerfile index 2a2ed1c..57715e3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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" ] \ No newline at end of file diff --git a/script.sh b/script.sh index 7c51110..0919c3c 100755 --- a/script.sh +++ b/script.sh @@ -1,5 +1,11 @@ #!/bin/bash +# debug +echo "start debug" +command -v java + +echo "end debug" + set -e APPS="com.valvesoftware.android.steam.community com.valvesoftware.android.steam.friendsui com.valvesoftware.steamlink"