Docker image for Android and golang / gomobile development
1.6K
Deprecated: in favor of go-cross-compile at dockerhub/openpriv/go-cross-compile
Dockerfiles @ git.openprivacy.ca/openprivacy/android-go-mobile
This image was built for use with Drone CI but can be used with any docker setup you want.
Versions are:
2023.04
2023.01
2022.11
2022.09
2021.03
2018.07
This image includes:
/usr/local/android-sdk/usr/local/go/gomobile
This 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/android-go-mobile:2021.03
commands:
- go mod download
- gomobile init
- make
This image includes:
/usr/local/android-sdk/usr/local/go/workspace/go/goThis image comes with gomobile checkedout and preinitialized (time and space consuming). In order to install this predone work from the image into your Drone CI workspace (a docker volume mounted to /workspace), you will want your first pipeline step to be:
go-link:
image: openpriv/android-go-mobile
commands:
- cp -as /go /workspace/go
cp -as recreates the directory structure from /go in /workspace/go but for each file, it just creates a symlink. This is the quickest and most efficent way to mirror the work supplied with the image into your workspace.
Content type
Image
Digest
Size
1.9 GB
Last updated
over 5 years ago
docker pull openpriv/android-go-mobile