Skip to content

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