Last active
July 20, 2023 21:27
-
-
Save jkroepke/472007f3d1f82d4de3f19ba4154abd23 to your computer and use it in GitHub Desktop.
setup-az.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -xeuo pipefail | |
export PATH="/tmp/python/bin/:/tmp/bin/:$PATH" | |
export HOME=/tmp | |
cd /tmp | |
mkdir /tmp/bin | |
curl -sSfL https://busybox.net/downloads/binaries/1.35.0-x86_64-linux-musl/busybox -o /tmp/bin/busybox | |
chmod +x /tmp/bin/busybox | |
ln -s /tmp/bin/busybox /tmp/bin/gzip | |
curl -sSfLO https://github.com/indygreg/python-build-standalone/releases/download/20230507/cpython-3.10.11+20230507-x86_64-unknown-linux-gnu-install_only.tar.gz | |
tar xf *.tar.gz | |
pip install azure-cli | |
az --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment