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
This commit is contained in:
parent
84a6a4e653
commit
830be8ef4c
@ -6,6 +6,7 @@ RUN echo "debconf shared/accepted-oracle-license-v1-1 select true" | debconf-set
|
|||||||
echo "debconf shared/accepted-oracle-license-v1-1 seen true" | debconf-set-selections
|
echo "debconf shared/accepted-oracle-license-v1-1 seen true" | debconf-set-selections
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get -y install build-essential python-software-properties bzip2 curl \
|
apt-get -y install build-essential python-software-properties bzip2 curl \
|
||||||
|
git subversion mercurial bzr \
|
||||||
libncurses5:i386 libstdc++6:i386 zlib1g:i386 && \
|
libncurses5:i386 libstdc++6:i386 zlib1g:i386 && \
|
||||||
add-apt-repository ppa:webupd8team/java && \
|
add-apt-repository ppa:webupd8team/java && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
@ -44,6 +45,7 @@ RUN curl https://go.googlecode.com/archive/default.tar.gz | tar xz -C / && \
|
|||||||
./all.bash && \
|
./all.bash && \
|
||||||
CC_FOR_TARGET=$NDK_ROOT/bin/arm-linux-androideabi-gcc GOOS=android GOARCH=arm GOARM=7 ./make.bash
|
CC_FOR_TARGET=$NDK_ROOT/bin/arm-linux-androideabi-gcc GOOS=android GOARCH=arm GOARM=7 ./make.bash
|
||||||
|
|
||||||
# Add go.mobile to GOPATH.
|
# Download go.mobile to GOPATH.
|
||||||
ADD . /gopath/src/code.google.com/p/go.mobile
|
RUN go get -d -t code.google.com/p/go.mobile/...
|
||||||
|
|
||||||
WORKDIR /gopath/src/code.google.com/p/go.mobile
|
WORKDIR /gopath/src/code.google.com/p/go.mobile
|
||||||
|
Loading…
x
Reference in New Issue
Block a user