mirror of https://github.com/rwxrob/dot
add cleanup to install-istioctl
parent
a21179a026
commit
4a0a3bbb17
@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
cleanup () {
|
||||
rm -rf ./istio-*
|
||||
}
|
||||
trap cleanup EXIT
|
||||
|
||||
curl -L https://istio.io/downloadIstio | sh -
|
||||
mkdir -p ~/.local/bin
|
||||
mv istio-*/bin/istioctl ~/.local/bin
|
||||
#curl -L https://istio.io/downloadIstio | ISTIO_VERSION=1.19.0 TARGET_ARCH=x86_64 sh -
|
||||
|
Loading…
Reference in New Issue