Commit Graph

7 Commits

Author SHA1 Message Date
Burcu Dogan 1e525d6eb2 mobile: cache debug.keystore to avoid adb install certificate errors
Otherwise, successive adb installs will require the existing apk to be
removed. If no android.keystore is generated during docker build, one
will be generated by the NDK toolchain during docker run.
It will end up the applications are being signed with different
certificates on each docker run.

Fixes #9498.

Change-Id: Ibac202b828224287ec6fdc3eaff659de5fce61c3
Reviewed-on: https://go-review.googlesource.com/2266
Reviewed-by: David Crawshaw <crawshaw@golang.org>
2015-01-03 21:35:02 +00:00
Hana (Hyang-Ah) Kim 748d0d3152 Dockerfile: update to download go from git and utilize volume mount.
Change-Id: Ib7d32298f6ee7f74e5c6e0da7e1022ed6a23283a
Reviewed-on: https://go-review.googlesource.com/1310
Reviewed-by: David Crawshaw <crawshaw@golang.org>
2014-12-10 20:28:06 +00:00
Hana Kim 0283b981d1 mobile/Dockerfile: install gradle.
LGTM=crawshaw
R=crawshaw, golang-codereviews
CC=golang-codereviews
https://golang.org/cl/181460043
2014-12-02 15:07:20 -05:00
Hana Kim 74f141279c go.mobile: use golang.org/x/mobile.
LGTM=adg
R=adg
CC=golang-codereviews
https://golang.org/cl/171420043
2014-11-11 09:37:33 -05:00
Hana Kim 80f7412a0f go.mobile: copy the local version of go.mobile instead of downloading from the net.
The purpose of this Dockerfile is to make it easier to hack on go.mobile.
'go get' is still desirable for preinstall necessary dependencies.

LGTM=crawshaw, adg
R=adg, crawshaw
CC=golang-codereviews
https://golang.org/cl/155480043
2014-10-17 13:07:55 -04:00
Hana Kim 830be8ef4c go.mobile: update Dockerfile to install hg/git/svn/bzr and freetype and go.tools/go packages.
LGTM=crawshaw
R=crawshaw
CC=golang-codereviews
https://golang.org/cl/158970044
2014-10-15 20:11:05 -04:00
Andrew Gerrand 98ca0ae78e go.mobile: add Dockerfile for portable build environment
This Dockerfile provides a base environment for building
Go Android apps. It can build example/basic, and that's
where I stopped for today.

$ docker build -t mobile /path/to/go.mobile
$ docker run --rm mobile /bin/bash -c 'cd example/gopher && ./make.bash'

LGTM=crawshaw
R=crawshaw
CC=golang-codereviews
https://golang.org/cl/151010043
2014-09-28 16:09:12 +10:00