aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCody Hiar <cody.hiar@investopedia.com>2016-08-28 16:53:25 -0600
committerCody Hiar <cody.hiar@investopedia.com>2016-08-28 16:53:25 -0600
commit7641b3272fabd1112d30b5b1c07c32f6f9e51050 (patch)
tree696afa880ef927cf0123e69e96bff75727fe30d7 /Makefile
parent8f1d9fa477434368a7f41fb2896bf1be6b048c8a (diff)
Break neovim into separate images. Makes it quicker to compile new
changes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 13 insertions, 3 deletions
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 .