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 for easy building with custom API key support #1571

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

Conversation

Pablo-Merino
Copy link

This PR adds a Dockerfile, along with some build scripts, to easily build a local copy using Docker. It also has the ability to use a custom API key & User Agent (based on this Google Collab script).

This is my first contribution on the project, so I apologize if something's wrong! Thanks a lot for such awesome app!

@linrav
Copy link

linrav commented Oct 30, 2023

Thank you for this effort, it really did make this mostly effortless. Apologies for not being familiar with feedback or contribution model, but my two cents after trying this out:

  • Critical issues:
    • Trying on my machine the .build.sh script starts an interactive bash shell which immediately exits after build is complete and the line to copy the apk can never succeed
    • dockerfile/build steps are architecture specific, only succeeds on amd64 / fails on apple silicon notably
  • Less important:
    • Build can be sped up quite a lot by using a different base or better layer caching

I was able to make minor modifications to correct this, and apologies if this is just my dev environment's nuance, but that in itself makes me inclined to push for more hardening of this process

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.

None yet

2 participants