Created
October 7, 2024 05:52
-
-
Save ichux/96e95a3af3086b3422da48ade151b729 to your computer and use it in GitHub Desktop.
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 | |
echo "- lazydocker installation" | |
LAZYDOCKER_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazydocker/releases/latest" | grep -Po '"tag_name": "v\K[0-9.]+') | |
curl -Lo lazydocker.tar.gz "https://github.com/jesseduffield/lazydocker/releases/latest/download/lazydocker_${LAZYDOCKER_VERSION}_Linux_x86_64.tar.gz" | |
tar -xvzf lazydocker.tar.gz> /dev/null 2>&1 && rm lazydocker.tar.gz | |
mv lazydocker /usr/local/bin/lazydocker && chmod a+x /usr/local/bin/lazydocker | |
echo "+ lazydocker installation" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment