Created
April 8, 2024 05:41
-
-
Save cassdeckard/8f03431fbbcd21e6de9706bf9d1f286f to your computer and use it in GitHub Desktop.
set up ubuntu image with azure cli, bcp, jq, unbuffer
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
| curl https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc | |
| curl https://packages.microsoft.com/config/ubuntu/20.04/prod.list | sudo tee /etc/apt/sources.list.d/mssql-release.list | |
| sudo apt-get update | |
| sudo ACCEPT_EULA=y DEBIAN_FRONTEND=noninteractive apt-get install mssql-tools18 unixodbc-dev expect jq -y | |
| cat >> ~/.bash_profile <<HEREDOC_EOF | |
| export PATH="$PATH:/opt/mssql-tools18/bin" | |
| source /home/profileAdmin/.bashrc | |
| HEREDOC_EOF | |
| curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment