File tree Expand file tree Collapse file tree 3 files changed +70
-70
lines changed
Expand file tree Collapse file tree 3 files changed +70
-70
lines changed Original file line number Diff line number Diff line change @@ -317,6 +317,7 @@ COPY --from=downloader /tmp/pandare.deb /tmp/
317317COPY --from=downloader /tmp/glow.deb /tmp/
318318COPY --from=downloader /tmp/gum.deb /tmp/
319319COPY --from=capstone_builder /usr/lib/libcapstone* /usr/lib/
320+ COPY ./dependencies/* /tmp
320321
321322# We need pycparser>=2.21 for angr. If we try this later with the other pip commands,
322323# we'll fail because we get a distutils distribution of pycparser 2.19 that we can't
@@ -331,78 +332,10 @@ RUN --mount=type=cache,target=/root/.cache/pip \
331332 "pycparser>=2.21"
332333
333334# fw2tar deps
334- RUN apt-get update && \
335- apt-get install -q -y \
336- android-sdk-libsparse-utils \
337- arj \
338- automake \
339- build-essential \
340- bzip2 \
341- cabextract \
342- cpio \
343- cramfsswap \
344- curl \
345- default-jdk \
346- e2fsprogs \
347- fakeroot \
348- gcc \
349- git \
350- gzip \
351- lhasa \
352- libarchive-dev \
353- liblzma-dev \
354- liblzo2-dev \
355- libmagic1 \
356- locales \
357- lz4 \
358- lziprecover \
359- lzop \
360- mtd-utils \
361- openssh-client \
362- p7zip \
363- p7zip-full \
364- python3 \
365- python3-pip \
366- qtbase5-dev \
367- sleuthkit \
368- squashfs-tools \
369- srecord \
370- tar \
371- unar \
372- unrar-free \
373- unzip \
374- xz-utils \
375- zlib1g-dev \
376- zstd
335+ RUN apt-get update && apt-get install -q -y $(cat /tmp/fw2tar.txt)
377336
378337# Install apt dependencies - largely for binwalk, some for penguin
379- RUN apt-get update && apt-get install -y \
380- fakeroot \
381- genext2fs \
382- graphviz \
383- graphviz-dev \
384- libarchive13 \
385- libgcc-s1 \
386- liblinear4 \
387- liblua5.3-0\
388- libpcap0.8 \
389- libpcre3 \
390- libssh2-1 \
391- libssl3 \
392- libstdc++6 \
393- libxml2 \
394- lua-lpeg \
395- nmap \
396- python3 \
397- python3-lxml \
398- python3-venv \
399- sudo \
400- telnet \
401- vim \
402- wget \
403- clang-11 \
404- lld-11 \
405- zlib1g && \
338+ RUN apt-get update && apt-get install -y $(cat /tmp/penguin.txt) && \
406339 apt install -yy -f /tmp/pandare.deb -f /tmp/glow.deb -f /tmp/gum.deb && \
407340 rm -rf /var/lib/apt/lists/* /tmp/*.deb
408341
Original file line number Diff line number Diff line change 1+ android-sdk-libsparse-utils
2+ arj
3+ automake
4+ build-essential
5+ bzip2
6+ cabextract
7+ cpio
8+ cramfsswap
9+ curl
10+ default-jdk
11+ e2fsprogs
12+ fakeroot
13+ gcc
14+ git
15+ gzip
16+ lhasa
17+ libarchive-dev
18+ liblzma-dev
19+ liblzo2-dev
20+ libmagic1
21+ locales
22+ lz4
23+ lziprecover
24+ lzop
25+ mtd-utils
26+ openssh-client
27+ p7zip
28+ p7zip-full
29+ python3
30+ python3-pip
31+ qtbase5-dev
32+ sleuthkit
33+ squashfs-tools
34+ srecord
35+ tar
36+ unar
37+ unrar-free
38+ unzip
39+ xz-utils
40+ zlib1g-dev
41+ zstd
Original file line number Diff line number Diff line change 1+ fakeroot
2+ genext2fs
3+ graphviz
4+ graphviz-dev
5+ libarchive13
6+ libgcc-s1
7+ liblinear4
8+ liblua5.3-0
9+ libpcap0.8
10+ libpcre3
11+ libssh2-1
12+ libssl3
13+ libstdc++6
14+ libxml2
15+ lua-lpeg
16+ nmap
17+ python3
18+ python3-lxml
19+ python3-venv
20+ sudo
21+ telnet
22+ vim
23+ wget
24+ clang-11
25+ lld-11
26+ zlib1g
You can’t perform that action at this time.
0 commit comments