diff options
author | Cody Hiar <codyfh@gmail.com> | 2016-12-30 17:20:37 +0000 |
---|---|---|
committer | Cody Hiar <codyfh@gmail.com> | 2016-12-30 17:20:37 +0000 |
commit | 4894ec4a92413f7d6fd2b43b9f137d86d3968cef (patch) | |
tree | 0107c73c8f20c97bae090119479765af3c158720 /Makefile | |
parent | ced9fc8f7cd6bc10d223baeb66ec774c94383449 (diff) |
Push to dockerhub everytime I rebuild.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -10,6 +10,7 @@ build: ## Build the base image docker build -t thornycrackers/shellcheck shellcheck-builder docker run --rm -it -v $(CURDIR):/mnt thornycrackers/shellcheck docker build -t thornycrackers/neovim . + docker push $(IMAGENAME) up: build ## Bring the container up docker run -dP -v $(CURDIR):/app --name $(CONTAINERNAME) $(IMAGENAME) /bin/bash -c 'while true; do echo hi; sleep 1; done;' @@ -22,5 +23,3 @@ enter: ## Enter the running container clean: ## Remove the image and any stopped containers docker rm $(CONTAINERNAME) || echo 'No container to remove' - docker rmi $(IMAGENAME) || echo 'No image to remove' - |