mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 13:46:43 +00:00
docker change
This commit is contained in:
parent
80a7885a9e
commit
a0c09ab5ce
1 changed files with 11 additions and 4 deletions
|
|
@ -13,10 +13,17 @@ RUN apt-get install -q -y unattended-upgrades
|
||||||
|
|
||||||
# Install Expanse
|
# Install Expanse
|
||||||
RUN apt-get install -q -y curl git mercurial binutils bison gcc make libgmp3-dev build-essential
|
RUN apt-get install -q -y curl git mercurial binutils bison gcc make libgmp3-dev build-essential
|
||||||
RUN curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer | bash
|
|
||||||
RUN /bin/bash -c "source /root/.gvm/scripts/gvm"
|
# Install Go
|
||||||
RUN gvm install go1.4
|
RUN \
|
||||||
RUN gvm use go1.4 --default
|
mkdir -p /goroot && \
|
||||||
|
curl https://storage.googleapis.com/golang/go1.4.2.linux-amd64.tar.gz | tar xvzf - -C /goroot --strip-components=1
|
||||||
|
|
||||||
|
# Set environment variables.
|
||||||
|
ENV GOROOT /goroot
|
||||||
|
ENV GOPATH /gopath
|
||||||
|
ENV PATH $GOROOT/bin:$GOPATH/bin:$PATH
|
||||||
|
|
||||||
RUN git clone http://www.github.com/expanse-project/go-expanse.git && cd go-expanse
|
RUN git clone http://www.github.com/expanse-project/go-expanse.git && cd go-expanse
|
||||||
RUN git checkout develop
|
RUN git checkout develop
|
||||||
RUN make gexp
|
RUN make gexp
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue