haveno/pricenode/docker/installDockerCompose.sh

5 lines
259 B
Bash
Raw Normal View History

2021-05-05 02:20:01 +02:00
#!/bin/bash
mkdir -p /opt/bin
curl -L `curl -s https://api.github.com/repos/docker/compose/releases/latest | jq -r '.assets[].browser_download_url | select(contains("Linux") and contains("x86_64"))'` > /opt/bin/docker-compose
chmod +x /opt/bin/docker-compose