docker-scripts/bin/docker-compose-update.sh

6 lines
345 B
Bash
Raw Permalink Normal View History

2021-11-02 03:34:02 +03:00
#!/bin/bash
curl --progress-bar -L "https://github.com/docker/compose/releases/download/`curl -fsSLI -o /dev/null -w %{url_effective} https://github.com/docker/compose/releases/latest | sed 's#.*tag/##g' && echo`/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
2021-11-02 04:00:42 +03:00
docker-compose -v