Last active
March 19, 2021 23:23
-
-
Save brunocascio/a5db2c04d8e9185c6459878255755cef to your computer and use it in GitHub Desktop.
Install docker compose in current path
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 characters
#!/bin/sh | |
BIN_DIR="${PWD}/bin" | |
COMPOSE_FILE_PATH="${BIN_DIR}/docker-compose" | |
mkdir -p "$BIN_DIR" | |
curl -L "https://github.com/docker/compose/releases/download/1.28.5/docker-compose-Linux-x86_64" -o "${COMPOSE_FILE_PATH}" | |
chmod +x "${COMPOSE_FILE_PATH}" | |
eval "${COMPOSE_FILE_PATH} version" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment