Skip to content

Instantly share code, notes, and snippets.

@xiam
Last active August 29, 2015 14:22
Show Gist options
  • Save xiam/56d8fe575176f459613d to your computer and use it in GitHub Desktop.
Save xiam/56d8fe575176f459613d to your computer and use it in GitHub Desktop.
Patch for the gomobile Dockerfile that applies a patch to Go...
From 23d337d1921f5d7cadea6763a657f830b2453068 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jos=C3=A9=20Carlos=20Nieto?= <[email protected]>
Date: Wed, 27 May 2015 17:49:14 -0500
Subject: [PATCH] Patch for the gomobile Dockerfile that applies a patch to
Go...
---
Dockerfile | 1 +
1 file changed, 1 insertion(+)
diff --git a/Dockerfile b/Dockerfile
index 51762ba..215db9e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -69,6 +69,7 @@ RUN mkdir -p $GOROOT && \
curl -sSL "https://go.googlesource.com/go/+archive/$GO_REV.tar.gz" | tar -vxz -C $GOROOT && \
echo $GO_VERSION > $GOROOT/VERSION && \
cd $GOROOT/src && \
+ curl https://gist.githubusercontent.com/xiam/f50f6dd6085f9a07ccfd/raw/5e0f472221f9c1556fe34788ff01724b63980337/docker_golang | patch -p0 && \
./all.bash && \
CC_FOR_TARGET=$NDK_ROOT/bin/arm-linux-androideabi-gcc GOOS=android GOARCH=arm GOARM=7 ./make.bash
--
2.3.2 (Apple Git-55)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment