Commit Graph

10 Commits

Author SHA1 Message Date
Hyang-Ah (Hana) Kim 094aefd3b8 Dockerfile: update go version to 3f4de49.
Change-Id: Icf2fa718236810086b85a19d4f3826884c03630f
Reviewed-on: https://go-review.googlesource.com/9077
Reviewed-by: David Crawshaw <crawshaw@golang.org>
2015-04-20 17:34:49 +00:00
Hyang-Ah Hana Kim 40f92f7d9f mobile: add go 1.4 for bootstrap & pin the revision of Go.
Use revision 34bc85f6f3b02ebcd490b40f4d32907ff2e69af3.

Change-Id: I63293b7155883ce8f89942ed05842697a33fffde
Reviewed-on: https://go-review.googlesource.com/3146
Reviewed-by: David Crawshaw <crawshaw@golang.org>
2015-01-23 16:07:06 +00:00
Hyang-Ah (Hana) Kim d97f4d82bd mobile: docker run should require a $GOPATH/src volume mount.
If the volume is not accessible or -v option is not given,
docker run golang/mobile will fail with an error like:

finalize namespace chdir to /src/golang.org/x/mobile no such file or directory2015/01/13 20:14:19 Error response from daemon: Cannot start container dfe1dbc2bac3ea939e154eee13d20ecae4c473a595dbc1e6a0e5cf0be3963909: finalize namespace chdir to /src/golang.org/x/mobile no such file or directory

Change-Id: I4d56c044e9c7682e63da7170a546522230237b18
Reviewed-on: https://go-review.googlesource.com/2780
Reviewed-by: Burcu Dogan <jbd@google.com>
2015-01-14 18:59:42 +00:00
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