From 0f0ebebb050d73dd0028c63f1503051ab645edf3 Mon Sep 17 00:00:00 2001 From: Yasmin Teles Date: Sun, 9 Jun 2024 13:26:55 -0300 Subject: [PATCH] feat: add docker desktop and colima apps --- Makefile | 7 ++++++- brew/Brewfile | 3 +++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9df8d5b..20d5ac4 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: help check_clean del ssh backup github check-scripts +.PHONY: help check_clean del ssh backup github colima check-scripts help: ## Show help. @printf "A set of environment management commands.\n" @@ -35,6 +35,11 @@ github: ## Clone all projects of a username at once in Github. cd ~/Projects && gh repo list $$owner --limit 4000 --no-archived --topic $$topic | while read -r repository _; do gh repo clone $$repository ; done @echo "Check the Projects folder to view all cloned projects." +colima: ## Setting up Colima and create a docker compose plugin. + @echo '{"credsStore":"osxkeychain"}' > ~/.docker/config.json + @mkdir -p ~/.docker/cli-plugins + @ln -sfn $(brew --prefix)/opt/docker-compose/bin/docker-compose ~/.docker/cli-plugins/docker-compose + check-scripts: ## Check the shell script. @echo "Checking the shell script..." @shellcheck *.sh diff --git a/brew/Brewfile b/brew/Brewfile index dbd39df..561dcba 100644 --- a/brew/Brewfile +++ b/brew/Brewfile @@ -28,6 +28,9 @@ brew "thefuck" brew "zoxide" # Docker +cask "docker" +brew "colima" + brew "docker" brew "docker-compose" brew "docker-credential-helper"