mirror of
https://github.com/mvt-project/mvt.git
synced 2026-09-04 17:06:35 +02:00
Merge pull request #173 from arky/android-tools-fix
Use latest Android platform tools
This commit is contained in:
+10
-2
@@ -12,8 +12,7 @@ ENV PIP_NO_CACHE_DIR=1
|
|||||||
# ----------------------------
|
# ----------------------------
|
||||||
RUN apt update \
|
RUN apt update \
|
||||||
&& apt install -y python3 python3-pip libusb-1.0-0-dev \
|
&& apt install -y python3 python3-pip libusb-1.0-0-dev \
|
||||||
&& apt install -y wget \
|
&& apt install -y wget unzip\
|
||||||
&& apt install -y adb \
|
|
||||||
&& DEBIAN_FRONTEND=noninteractive apt-get -y install default-jre-headless \
|
&& DEBIAN_FRONTEND=noninteractive apt-get -y install default-jre-headless \
|
||||||
|
|
||||||
# Install build tools for libimobiledevice
|
# Install build tools for libimobiledevice
|
||||||
@@ -65,6 +64,15 @@ RUN mkdir /opt/abe \
|
|||||||
# Create alias for abe
|
# Create alias for abe
|
||||||
&& echo 'alias abe="java -jar /opt/abe/abe.jar"' >> ~/.bashrc
|
&& echo 'alias abe="java -jar /opt/abe/abe.jar"' >> ~/.bashrc
|
||||||
|
|
||||||
|
# Install Android Platform Tools
|
||||||
|
# ------------------------------
|
||||||
|
|
||||||
|
RUN mkdir /opt/android \
|
||||||
|
&& wget -q https://dl.google.com/android/repository/platform-tools-latest-linux.zip \
|
||||||
|
&& unzip platform-tools-latest-linux.zip -d /opt/android \
|
||||||
|
# Create alias for adb
|
||||||
|
&& echo 'alias adb="/opt/android/platform-tools/adb"' >> ~/.bashrc
|
||||||
|
|
||||||
# Setup investigations environment
|
# Setup investigations environment
|
||||||
# --------------------------------
|
# --------------------------------
|
||||||
RUN mkdir /home/cases
|
RUN mkdir /home/cases
|
||||||
|
|||||||
Reference in New Issue
Block a user