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

feat: reproductible build #411

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from
Open

feat: reproductible build #411

wants to merge 9 commits into from

Conversation

ethicnology
Copy link
Collaborator

@ethicnology ethicnology commented Dec 31, 2024

This PR attempt to make the android build reproducible, locally.
To do so I provide a Dockerfile and commands documented in /repro/README.md

You may see error if you don't have enough disk space or RAM in your docker resources

Close #326

@ethicnology ethicnology requested a review from i5hi December 31, 2024 17:05
@ethicnology
Copy link
Collaborator Author

docker build -t bull-mobile .
docker run --name bull-container bull-mobile
docker cp bull-container:/app/build/app/outputs/apk/release/app-release.apk ./

@ethicnology
Copy link
Collaborator Author

Stax confirmed me, he could reproduce the apk with the given Dockerfile

@xrviv
Copy link

xrviv commented Jan 8, 2025

Hi,

Danny here from WalletScrutiny 😊.

Thanks for accommodating this concern as documented in 326

The Dockerfile builds an apk, not an AAB, I'm currently trying to modify the Dockerfile in this PR, to attempt to build an AAB.

@ethicnology ethicnology changed the base branch from main to develop January 14, 2025 14:15
- unnecessary ppa
- ANDROID_HOME
- flutter with non-root user
- warnings ENV legacy
…

–> remain JAVA_HOME
- remove JAVA_HOME fix invalid path error
- add build_runner for generated files
@ethicnology
Copy link
Collaborator Author

rebased on develop

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.

[Feature] Reproducible builds
2 participants