From 1d115ccbd144bba747f12952133b79933a2cc63c Mon Sep 17 00:00:00 2001 From: Clinton Blackburn Date: Thu, 23 Mar 2017 18:18:45 -0400 Subject: [PATCH] Added make target to update Docker images --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a9d49ffdc1..0c374c3297 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: clone devstack.provision devstack.reset devstack.start devstack.stop help requirements validate +.PHONY: clone devstack.provision devstack.reset devstack.start devstack.stop help requirements update-images validate backup-volumes: ## Backup all data volumes to the local host docker run --rm --volumes-from edx.devstack.mysql -v $$(pwd)/.dev/backups:/backup debian:jessie tar zcvf /backup/mysql.tar.gz /var/lib/mysql @@ -41,5 +41,8 @@ devstack.stop: ## Stop all services requirements: ## Install requirements pip install -r requirements.txt +update-images: ## Update the Docker images + docker-compose pull + validate: ## Validate the devstack configuration docker-compose config