Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Dockerfile #3734

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

vadim-belous
Copy link

Add multi-stage Dockerfile

Stages:

  1. Build .jar with Gradle
  2. Copy it to the new container and run it via OpenJDK

To build Apktool Docker image

docker build --platform=linux/amd64 -t apktool -f Dockerfile .

Usage: decompile and extract APK

docker run --rm --name apktool-temp --platform=linux/amd64 -v $(pwd):/data/ -it apktool d test.apk

Copy link
Owner

@iBotPeaches iBotPeaches left a comment

Choose a reason for hiding this comment

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

Last time Docker was added. I reverted it a bit later due to many issues. I haven't had the time to peek this, so for now I'll leave link to my revert and revisit when I have time.

#3423

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