This file contains 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 | |
curl -sLo bat.deb $(curl -sL https://api.github.com/repos/sharkdp/bat/releases/latest | grep -Po '"browser_download_url": "\K.*?(?=")' | grep 'amd64.deb' | grep -v musl) | |
sudo apt install ./bat.deb | |
rm bat.deb |
This file contains 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 | |
# based on https://gist.githubusercontent.com/EvgenyOrekhov/1ed8a4466efd0a59d73a11d753c0167b/raw/fe4b33e0ca5ec741630b83e22c0ee35dd67fc071/install-docker.sh | |
sudo apt --yes --no-install-recommends install apt-transport-https ca-certificates | |
wget --quiet --output-document=- https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo add-apt-repository "deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/ubuntu $(lsb_release --codename --short) stable" | |
sudo apt --yes --no-install-recommends install docker-ce docker-ce-cli containerd.io | |
curl -sLo /usr/local/bin/docker-compose "https://github.com/docker/compose/releases/download/$(curl -sL https://api.github.com/repos/docker/compose/releases/latest | grep --perl-regexp --only-matching '"tag_name": "\K.*?(?=")')/docker-compose-Linux-x86_64" | |
chmod +x /usr/local/bin/docker-compose |