container to cross compile go libraries to linux .so, macos .dylib, android .aar and windows .dll
795
Dockerfiles @ git.openprivacy.ca/openprivacy/go-cross-compile
This image was built for use with Drone CI but can be used with any docker setup you want.
Versions are:
2026.07
2026.07-windows
2025.09
2025.10-windows
2025.08:
2024.02
/usr/local/Android/Sdk/usr/local/go/gomobile
- GOPATH includes gomobile cmd tools and sourceThis image includes:
/usr/local/android-sdk/usr/local/go/gomobile
- GOPATH includes gomobile cmd tools and sourceThis container has its own GOPATH with only gomobile in it, so to use, you'll need to re-get your go dependancies and then run gomobile init. The following example shows a Drone CI step using this image
gomobile-build:
image: openpriv/go-cross-compile:2024.02
commands:
- go mod download
- gomobile init
- make
Content type
Image
Digest
sha256:1f08aafcf…
Size
792.3 MB
Last updated
3 months ago
docker pull openpriv/go-cross-compile:2026.07-windows