Skip to content

Instantly share code, notes, and snippets.

View oliviermarin's full-sized avatar
💭
I may be slow to respond.

Olivier Marin oliviermarin

💭
I may be slow to respond.
  • Paris Turf
  • Châtillon
View GitHub Profile
@oliviermarin
oliviermarin / install-latest-compose.sh
Created July 28, 2022 14:45 — forked from deviantony/install-latest-compose.sh
Install latest version of Docker Compose
#!/bin/bash
## THIS THE THE OLD WAY
## Nowadays, simply follow the Compose installation instructions in the official documentation: https://docs.docker.com/compose/install/
# get latest docker compose released tag
COMPOSE_VERSION=$(curl -s https://api.github.com/repos/docker/compose/releases/latest | grep 'tag_name' | cut -d\" -f4)