Use latest Android platform tools

This commit is contained in:
Arky 2021-08-21 20:50:23 +07:00
parent d99a8be632
commit 3cbeb4befa
1 changed files with 10 additions and 2 deletions

View File

@ -12,8 +12,7 @@ ENV PIP_NO_CACHE_DIR=1
# ----------------------------
RUN apt update \
&& apt install -y python3 python3-pip libusb-1.0-0-dev \
&& apt install -y wget \
&& apt install -y adb \
&& apt install -y wget unzip\
&& DEBIAN_FRONTEND=noninteractive apt-get -y install default-jre-headless \
# Install build tools for libimobiledevice
@ -65,6 +64,15 @@ RUN mkdir /opt/abe \
# Create alias for abe
&& 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
# --------------------------------
RUN mkdir /home/cases