Merge "Fix tar command path for magnum conductor using ubuntu"

This commit is contained in:
Jenkins 2016-08-18 03:07:51 +00:00 committed by Gerrit Code Review
commit 0f6f5228d0

View File

@ -17,7 +17,7 @@ RUN {{ macros.install_packages(magnum_conductor_packages | customizable("package
# Install kubectl binary (ugh)
RUN cd /tmp \
&& curl -L https://github.com/GoogleCloudPlatform/kubernetes/releases/download/v0.15.0/kubernetes.tar.gz -o /tmp/kubernetes.tar.gz \
&& /usr/bin/tar -xzvf /tmp/kubernetes.tar.gz \
&& tar -xzvf /tmp/kubernetes.tar.gz \
&& cp -a /tmp/kubernetes/platforms/linux/amd64/kubectl /usr/bin/kubectl \
&& rm -rf /tmp/kubernetes