Adds basic rust setup
removes kotlin stuff.
This commit is contained in:
1 parent
161156f7c2
commit
8df246c058
8 files changed
+37
-36
No files matched your search
@@ -7,19 +7,3 @@ echo "deb [signed-by=/usr/share/keyrings/kubernetes-archive-keyring.gpg] https:/
|
||||
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y kubectl
|
||||
|
||||
(
|
||||
set -x; cd "$(mktemp -d)" &&
|
||||
OS="$(uname | tr '[:upper:]' '[:lower:]')" &&
|
||||
ARCH="$(uname -m | sed -e 's/x86_64/amd64/' -e 's/\(arm\)\(64\)\?.*/\1\2/' -e 's/aarch64$/arm64/')" &&
|
||||
KREW="krew-${OS}_${ARCH}" &&
|
||||
curl -fsSLO "https://github.com/kubernetes-sigs/krew/releases/latest/download/${KREW}.tar.gz" &&
|
||||
tar zxvf "${KREW}.tar.gz" &&
|
||||
./"${KREW}" install krew
|
||||
)
|
||||
|
||||
for n in $(cat ~/.dotfiles/scripts/krew.plugins.txt)
|
||||
do
|
||||
echo "Installing $n"
|
||||
kubectl krew install "$n"
|
||||
done
|
||||
Reference in new issue
Block a user