-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
30 lines (27 loc) · 730 Bytes
/
Dockerfile
File metadata and controls
30 lines (27 loc) · 730 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
FROM archlinux:base-devel AS build
RUN pacman -Syu --noconfirm \
rust && \
cargo install apkeep
FROM golang:trixie AS build-go
RUN git clone https://github.com/xPaw/DumpStrings.git && \
cd DumpStrings && \
go install .
FROM archlinux:base
RUN pacman -Syu --noconfirm \
git \
python \
python-pip \
jre-openjdk \
jadx \
which \
unzip \
imagemagick \
perl-xml-xpath
RUN python -m venv /data/.venv && \
. /data/.venv/bin/activate && \
pip install --upgrade hermes-dec
ENV PATH=/bin/vendor_perl:/data/.venv/bin:$PATH
COPY --from=build /root/.cargo/bin/* /usr/local/bin/
COPY --from=build-go /go/bin/DumpStrings /usr/local/bin/
COPY setup.sh /data/setup.sh
CMD [ "/data/setup.sh" ]