Arrangement

This commit is contained in:
David Heinemeier Hansson 2024-05-26 18:37:47 -07:00
parent af2fdd62cc
commit 273ee3f4d5

View File

@ -1,8 +1,8 @@
if ! command -v docker &>/dev/null; then if ! command -v docker &>/dev/null; then
DOCKER_COMPOSE_VERSION="2.27.0"
sudo apt install -y docker.io docker-buildx sudo apt install -y docker.io docker-buildx
sudo usermod -aG docker ${USER} sudo usermod -aG docker ${USER}
DOCKER_COMPOSE_VERSION="2.27.0"
DOCKER_CONFIG=${DOCKER_CONFIG:-$HOME/.docker} DOCKER_CONFIG=${DOCKER_CONFIG:-$HOME/.docker}
mkdir -p $DOCKER_CONFIG/cli-plugins mkdir -p $DOCKER_CONFIG/cli-plugins
curl -SL https://github.com/docker/compose/releases/download/v$DOCKER_COMPOSE_VERSION/docker-compose-linux-x86_64 -o $DOCKER_CONFIG/cli-plugins/docker-compose curl -SL https://github.com/docker/compose/releases/download/v$DOCKER_COMPOSE_VERSION/docker-compose-linux-x86_64 -o $DOCKER_CONFIG/cli-plugins/docker-compose