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

Refactor android-arm docker image #2

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

Conversation

Dim0N22
Copy link

@Dim0N22 Dim0N22 commented Mar 28, 2021

This PR introduces a couple of improvements:

  • Updated base image
  • Unified image tags (elementumorg/cross-compiler:base instead of cross-compiler:base)
  • Dockerfile uses multistage builds to improve performance and minimize resulting image
  • Resulting image is approx. 3 times smaller (900mb instead of 2700mb)

I've tested it with ElementumOrg/libtorrent-go and build succeeded.

This is a draft PR, only android-arm is refactored, but I want to work on all other images as well.
Let me know what you think.

@elgatito
Copy link
Collaborator

elgatito commented Apr 5, 2021

@Dim0N22 Debian stretch is used, because newer OS requires newer glibc, so binaries won't run on devices with Kernel 3.14, which is used in many media players.

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