Skip to content

Install Java and jadx in Dockerfile #1812#2174

Merged
tdruez merged 5 commits into
mainfrom
1812-dockerfile-android-inspector
Jun 12, 2026
Merged

Install Java and jadx in Dockerfile #1812#2174
tdruez merged 5 commits into
mainfrom
1812-dockerfile-android-inspector

Conversation

@JonoYang

@JonoYang JonoYang commented Jun 9, 2026

Copy link
Copy Markdown
Member

This PR addresses #1812 by modifying the Dockerfile to install Java, jadx, and android-inspector, allowing us to use the android d2d pipeline. uv.lock has been updated to the new versions of aboutcode.federated, minecode-pipelines.

    * Update uv.lock

Signed-off-by: Jono Yang <jyang@nexb.com>
Comment thread Dockerfile Outdated
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

# Download jadx-1.5.0.zip and extract contents to /usr/bin/ and /usr/lib/

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tdruez Should the java and jadx installation be done in step 2 or is it alright here in step 3?

Comment thread Dockerfile Outdated
--mount=type=bind,source=uv.lock,target=uv.lock \
--mount=type=bind,source=pyproject.toml,target=pyproject.toml \
uv sync --frozen --no-install-project
uv sync --extra android_analysis --frozen --no-install-project

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tdruez should android-inspector be a proper dependency or is it alright to leave it as an extra and call uv sync --extra android_analysis during the Docker build

@JonoYang JonoYang requested a review from tdruez June 9, 2026 17:54
@JonoYang JonoYang marked this pull request as ready for review June 9, 2026 17:55
tdruez added 4 commits June 12, 2026 16:20
Signed-off-by: tdruez <tdruez@aboutcode.org>
Signed-off-by: tdruez <tdruez@aboutcode.org>
Signed-off-by: tdruez <tdruez@aboutcode.org>
Signed-off-by: tdruez <tdruez@aboutcode.org>
@tdruez tdruez merged commit 8c83686 into main Jun 12, 2026
12 checks passed
@tdruez tdruez deleted the 1812-dockerfile-android-inspector branch June 12, 2026 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants