Add curl to required packages in kubectl install

This commit is contained in:
Ricardo Katz
2020-09-22 15:34:29 -03:00
committed by GitHub
parent 0b9ec5772a
commit f4fe5eafd8
@@ -65,7 +65,7 @@ Using the latest version of kubectl helps avoid unforeseen issues.
{{< tabs name="kubectl_install" >}}
{{< tab name="Ubuntu, Debian or HypriotOS" codelang="bash" >}}
sudo apt-get update && sudo apt-get install -y apt-transport-https gnupg2
sudo apt-get update && sudo apt-get install -y apt-transport-https gnupg2 curl
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
echo "deb https://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee -a /etc/apt/sources.list.d/kubernetes.list
sudo apt-get update