From 7641b3272fabd1112d30b5b1c07c32f6f9e51050 Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Sun, 28 Aug 2016 16:53:25 -0600 Subject: Break neovim into separate images. Makes it quicker to compile new changes --- Makefile | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 82ba642..299454f 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,15 @@ help: - @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' + @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' -build: ## Build the docker image - docker build -t thornycrackers/neovim:local . + +build-python: ## Build the neovim python image, this is the base image + docker build -f Dockerfile.python -t thornycrackers/neovim:python . + +build-php: ## Build the neovim php image, depends on python tag + docker build -f Dockerfile.php -t thornycrackers/neovim:php . + +build-javascript: ## Build the neovim javascript image, depends on php tag + docker build -f Dockerfile.javascript -t thornycrackers/neovim:javascript . + +build-shell: ## Build the neovim shell image, depends on javascript tag + docker build -f Dockerfile.shell -t thornycrackers/neovim . -- cgit v1.2.3