This commit is contained in:
David Heinemeier Hansson 2024-05-26 15:20:50 -07:00
parent bc0d11ba66
commit 18181ecc8f

View File

@ -1,7 +1,7 @@
cd ~/Downloads cd ~/Downloads
LAZYDOCKER_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazydocker/releases/latest" | grep -Po '"tag_name": "v\K[^"]*') LAZYDOCKER_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazydocker/releases/latest" | grep -Po '"tag_name": "v\K[^"]*')
curl -Lo lazydocker.tar.gz "https://github.com/jesseduffield/lazydocker/releases/latest/download/lazydocker_${LAZYDOCKER_VERSION}_Linux_x86_64.tar.gz" curl -sLo lazydocker.tar.gz "https://github.com/jesseduffield/lazydocker/releases/latest/download/lazydocker_${LAZYDOCKER_VERSION}_Linux_x86_64.tar.gz"
tar xf lazydocker.tar.gz lazydocker tar -xf lazydocker.tar.gz lazydocker
sudo install lazydocker /usr/local/bin sudo install lazydocker /usr/local/bin
rm lazydocker.tar.gz rm lazydocker.tar.gz
cd - cd -