Remove crictl from Dockerfile

We don't have a CRI API, we'll never use it

Signed-off-by: Matthew Heon <matthew.heon@gmail.com>

Closes: #570
Approved by: rhatdan
This commit is contained in:
Matthew Heon
2018-03-31 21:15:33 -04:00
committed by Atomic Bot
parent 03ec980dcf
commit 6b37608260

View File

@ -86,17 +86,6 @@ RUN set -x \
&& cp bin/* /usr/libexec/cni \
&& rm -rf "$GOPATH"
# Install crictl
ENV CRICTL_COMMIT 16e6fe4d7199c5689db4630a9330e6a8a12cecd1
RUN set -x \
&& export GOPATH="$(mktemp -d)" \
&& git clone https://github.com/kubernetes-incubator/cri-tools.git "$GOPATH/src/github.com/kubernetes-incubator/cri-tools" \
&& cd "$GOPATH/src/github.com/kubernetes-incubator/cri-tools" \
&& git checkout -q "$CRICTL_COMMIT" \
&& go install github.com/kubernetes-incubator/cri-tools/cmd/crictl \
&& cp "$GOPATH"/bin/crictl /usr/bin/ \
&& rm -rf "$GOPATH"
# Install buildah
RUN set -x \
&& export GOPATH=/go \