Browse code

Fix the origin release image

Clayton Coleman authored on 2015/05/15 02:23:05
Showing 2 changed files
... ...
@@ -8,8 +8,4 @@ source "${OS_ROOT}/hack/common.sh"
8 8
 GO_VERSION=($(go version))
9 9
 echo "Detected go version: $(go version)"
10 10
 
11
-if [[ ${GO_VERSION[2]} == "go1.4"* ]]; then
12
-  go get golang.org/x/tools/cmd/cover
13
-else
14
-  go get code.google.com/p/go.tools/cmd/cover
15
-fi
11
+go get golang.org/x/tools/cmd/cover
... ...
@@ -15,7 +15,7 @@ ENV TMPDIR /openshifttmp
15 15
 
16 16
 # Get the code coverage tool and godep
17 17
 RUN mkdir $TMPDIR && \
18
-    go get code.google.com/p/go.tools/cmd/cover github.com/tools/godep github.com/golang/lint/golint
18
+    go get golang.org/x/tools/cmd/cover github.com/tools/godep github.com/golang/lint/golint
19 19
 
20 20
 # Mark this as a os-build container
21 21
 RUN touch /os-build-image