From 40bb0dc18678b0f6012b6c66d93f088aed5aa6de Mon Sep 17 00:00:00 2001 From: Antoine Rybacki <15911822+Lifeismana@users.noreply.github.com> Date: Tue, 9 Jul 2024 20:45:59 +0200 Subject: [PATCH] maybe --- .github/workflows/run.yml | 14 +++++++------- Dockerfile | 11 +++++++---- setup.sh | 2 ++ 3 files changed, 16 insertions(+), 11 deletions(-) create mode 100755 setup.sh diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index 4f79a31..5e3a433 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -32,13 +32,13 @@ jobs: # remove-android: 'true' # remove-haskell: 'true' # remove-codeql: 'true' - - name: More space - shell: bash - run: | - sudo rm -rf /usr/share/dotnet - sudo rm -rf /usr/local/lib/android - sudo rm -rf /opt/ghc - sudo rm -rf /opt/hostedtoolcache/CodeQL + # - name: More space + # shell: bash + # run: | + # sudo rm -rf /usr/share/dotnet + # sudo rm -rf /usr/local/lib/android + # sudo rm -rf /opt/ghc + # sudo rm -rf /opt/hostedtoolcache/CodeQL - uses: actions/checkout@v4 with: ref: main diff --git a/Dockerfile b/Dockerfile index 55a28b6..debedce 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,15 @@ -FROM archlinux:base +FROM archlinux:base-devel RUN pacman -Syu --noconfirm \ git \ python \ python-pip \ - jadx + jadx \ + rust && \ + cargo install apkeep 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 -CMD [ "ls -la && cd $GITHUB_WORKSPACE && ls -la" ] \ No newline at end of file +ENV PATH=/root/.cargo/bin:/data/.venv/bin:$PATH +COPY setup.sh /data/setup.sh +CMD [ "/data/setup.sh" ] \ No newline at end of file diff --git a/setup.sh b/setup.sh new file mode 100755 index 0000000..c386210 --- /dev/null +++ b/setup.sh @@ -0,0 +1,2 @@ +#!/bin/bash +cd $GITHUB_WORKSPACE && ./script.sh \ No newline at end of file