-
-
Notifications
You must be signed in to change notification settings - Fork 586
Expand file tree
/
Copy pathDockerfile
More file actions
25 lines (19 loc) · 700 Bytes
/
Copy pathDockerfile
File metadata and controls
25 lines (19 loc) · 700 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
FROM python:3-slim
LABEL description="Scanning APK file for URIs, endpoints & secrets."
LABEL repository="https://github.com/dwisiswant0/apkleaks"
LABEL maintainer="dwisiswant0"
RUN apt-get update && \
apt-get install -y openjdk-17-jre-headless && \
apt-get install -y unzip && \
rm -rf /var/lib/apt/lists/*
# Instal jadx 1.2.0
ADD https://github.com/skylot/jadx/releases/download/v1.2.0/jadx-1.2.0.zip /tmp/jadx.zip
RUN unzip /tmp/jadx.zip -d /opt/jadx && \
rm /tmp/jadx.zip && \
ln -s /opt/jadx/bin/jadx /usr/local/bin/jadx
WORKDIR /app
COPY requirements.txt .
RUN python -m ensurepip
RUN pip install -r requirements.txt
COPY . .
ENTRYPOINT ["python", "/app/apkleaks.py"]