From 70e2df3904acf61db0d9c6805dda81c5e7fc2529 Mon Sep 17 00:00:00 2001 From: sveneh Date: Mon, 9 Feb 2015 16:27:49 +0100 Subject: 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. --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Dockerfile') 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 -- cgit v1.2.3