/install-docker-compose

Install docker-compose using multiarch Docker image

Primary LanguageShellApache License 2.0Apache-2.0

DO NOT USE THIS REPOSITORY ANYMORE

This repository was merged into masnagam/sbc-scripts.

Install docker-compose using multiarch Docker image

# On a target machine
curl -fsSL https://raw.githubusercontent.com/masnagam/install-docker-compose/master/run | \
  sh -s -- 1.25.4 | sudo tar -x -C /usr/local/bin

# On a remote machine
curl -fsSL https://raw.githubusercontent.com/masnagam/install-docker-compose/master/run | \
  sh -s -- 1.25.4-debian-arm64v8 | ssh $REMOTE tar -x

Docker images

DockerHub:

Supported platforms:

  • alpine
  • debian (main platform)

Supported architectures:

  • amd64
  • arm32v7
  • arm32v8

Invoke the build job

Invoke manually:

REPO=masnagam/docker-compose-builder
GITHUB_TOKEN='token...'
VERSION='1.25.4'

JSON=$(cat <<EOF
{
  "event_type": "build",
  "client_payload": {
    "version": "$VERSION",
    "latest": true
  }
}
EOF
)

echo "$JSON" | curl https://api.github.com/repos/$REPO/dispatches \
  -X POST -d @- \
  -H "Authorization: token $GITHUB_TOKEN" \
  -H "Content-Type: application/json"

License

Licensed under either of

at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.