Skip to content

Instantly share code, notes, and snippets.

@Andersoft
Last active February 29, 2024 22:43
Show Gist options
  • Save Andersoft/f53ec1ac6beac8e2b973aede148aa558 to your computer and use it in GitHub Desktop.
Save Andersoft/f53ec1ac6beac8e2b973aede148aa558 to your computer and use it in GitHub Desktop.
#!/usr/bin/bash
apt-get update
apt-get install -y wget zip unzip gpg
# install powershell
wget https://github.com/PowerShell/PowerShell/releases/download/v7.4.1/powershell_7.4.1-1.deb_amd64.deb
dpkg -i powershell_7.4.1-1.deb_amd64.deb
apt-get install -f
rm powershell_7.4.1-1.deb_amd64.deb
# install docker
curl -fsSL https://get.docker.com -o get-docker.sh
sh ./get-docker.sh
chmod 666 /var/run/docker.sock
service docker start
# install dotnet 8
apt-get install -y dotnet-sdk-8.0
# install nodejs
curl -fsSL https://deb.nodesource.com/setup_21.x | sudo -E bash
apt-get install -y nodejs
# install terraform
apt-get install -y gnupg software-properties-common
wget -O- https://apt.releases.hashicorp.com/gpg | gpg --dearmor | tee /usr/share/keyrings/hashicorp-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/hashicorp.list
apt update
apt-get install -y terraform
# install Azure cli
curl -sL https://aka.ms/InstallAzureCLIDeb | bash
#!/usr/bin/bash
# Configure permissions
chmod 777 /usr/bin/
apt-get install -y build-essential libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libnss3 libxss1 libasound2 libxtst6 xauth xvfb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment