Hi,
Following the instructions given here, I am running following executions at some point in my Bitbucket Pipeline:
- curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
- chmod +x ./kubectl
- sudo mv ./kubectl /usr/local/bin/kubectl
However the build fails with following error:
<span>bash: sudo: command not found</span><span>+ sudo mv ./kubectl /usr/local/bin/kubectl</span>
Why? Any hint? Thanks in advance.
Cheers and have a nice one,
christian