aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorsveneh <sven@ethdev.com>2015-02-09 23:27:49 +0800
committersveneh <sven@ethdev.com>2015-02-09 23:27:49 +0800
commit70e2df3904acf61db0d9c6805dda81c5e7fc2529 (patch)
tree490bbc37925515e6b5c38c14a95aa1e2d9f809e9 /Dockerfile
parente40c1c62ce0c2d9567066d84ea74fd24b424a81a (diff)
downloadgo-tangerine-70e2df3904acf61db0d9c6805dda81c5e7fc2529.tar
go-tangerine-70e2df3904acf61db0d9c6805dda81c5e7fc2529.tar.gz
go-tangerine-70e2df3904acf61db0d9c6805dda81c5e7fc2529.tar.bz2
go-tangerine-70e2df3904acf61db0d9c6805dda81c5e7fc2529.tar.lz
go-tangerine-70e2df3904acf61db0d9c6805dda81c5e7fc2529.tar.xz
go-tangerine-70e2df3904acf61db0d9c6805dda81c5e7fc2529.tar.zst
go-tangerine-70e2df3904acf61db0d9c6805dda81c5e7fc2529.zip
Dockerfile creation speed-up by not running go tests, added a workaround
so that docker's cache is invalidated whenever th git repo is updated.
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 771d19746..d2c03e7e0 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -21,7 +21,7 @@ RUN apt-get install -y qt54quickcontrols qt54webengine
## Build and install latest Go
RUN git clone https://go.googlesource.com/go golang
RUN cd golang && git checkout go1.4.1
-RUN cd golang/src && ./all.bash && go version
+RUN cd golang/src && ./make.bash && go version
## Fetch and install QML
RUN go get -u -v -d github.com/obscuren/qml
@@ -29,6 +29,9 @@ WORKDIR $GOPATH/src/github.com/obscuren/qml
RUN git checkout v1
RUN go install -v
+# this is a workaround, to make sure that docker's cache is invalidated whenever the git repo changes
+ADD https://api.github.com/repos/ethereum/go-ethereum/git/refs/heads/develop file_does_not_exist
+
## Fetch and install go-ethereum
RUN go get -u -v -d github.com/ethereum/go-ethereum/...
WORKDIR $GOPATH/src/github.com/ethereum/go-ethereum