Skip to content
Open
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions docker/scout-emulation/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,13 @@ RUN wget -q https://github.com/ReFirmLabs/binwalk/archive/refs/tags/v2.3.4.tar.g
# To update: pass --build-arg FIRMAE_COMMIT=<new-sha> and rebuild.
RUN git clone --recursive https://github.com/pr0v3rbs/FirmAE.git /opt/FirmAE \
&& cd /opt/FirmAE \
&& git checkout "${FIRMAE_COMMIT}" \
&& git submodule update --init --recursive \
&& cp /opt/FirmAE/core/unstuff /usr/local/bin/ 2>/dev/null || true \
&& chmod +x /opt/FirmAE/run.sh \
&& ./download.sh
&& ./download.sh \
&& printf "y\n" | ./install.sh \
# through symbolic link 'firmae' to execute from anywhere
ln -s /opt/FirmAE/run.sh /usr/local/bin/firmae

# Initialize PostgreSQL for FirmAE
RUN service postgresql start \
Expand Down