haveno/pricenode/docker/installDockerCompose.sh
2021-05-04 20:20:01 -04:00

5 lines
259 B
Bash

#!/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