Skip to content

Commit

Permalink
test-runner: remove useless rm -rf GOROOT πŸ‡
Browse files Browse the repository at this point in the history
As we now control the full image definition, we know there is no
`golang` installed before this step, so this `rm -rf` is useless.

Signed-off-by: Vincent Demeester <[email protected]>
  • Loading branch information
vdemeester authored and tekton-robot committed May 1, 2020
1 parent e53521e commit ad68cbb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tekton/images/test-runner/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,7 @@ RUN ["/bin/chmod", "+x", "/workspace/get-kube.sh"]

# Install Go 1.14.1
ARG GO_VERSION=1.14.1
RUN rm -rf $(go env GOROOT) && \
curl https://dl.google.com/go/go${GO_VERSION}.linux-amd64.tar.gz > go${GO_VERSION}.tar.gz && \
RUN curl https://dl.google.com/go/go${GO_VERSION}.linux-amd64.tar.gz > go${GO_VERSION}.tar.gz && \
tar -C /usr/local -xzf go${GO_VERSION}.tar.gz && \
rm go${GO_VERSION}.tar.gz

Expand Down

0 comments on commit ad68cbb

Please sign in to comment.