Last active
August 11, 2023 07:44
-
-
Save tobiasmuehl/4de1f1c294f96441bec63c5bb0a97b21 to your computer and use it in GitHub Desktop.
Revisions
-
tobiasmuehl revised this gist
Aug 11, 2023 . No changes.There are no files selected for viewing
-
tobiasmuehl revised this gist
Feb 28, 2022 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ #!/bin/bash apt install -y jq curl COMPOSE_VER=$(curl -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/docker/compose/releases/latest | jq -r '.name' | grep -oP "v[0-9]+(\.[0-9]+)+$") -
tobiasmuehl created this gist
Feb 28, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ #!/bin/sh apt install -y jq curl COMPOSE_VER=$(curl -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/docker/compose/releases/latest | jq -r '.name' | grep -oP "v[0-9]+(\.[0-9]+)+$") mkdir -p ~/.docker/cli-plugins/ OS=$(uname -s) curl -SL https://github.com/docker/compose/releases/download/$COMPOSE_VER/docker-compose-${OS,,}-$(uname -m) -o ~/.docker/cli-plugins/docker-compose chmod +x ~/.docker/cli-plugins/docker-compose