From c8e5a12836647e1f17c8cf51c57be71bf3dc1fc2 Mon Sep 17 00:00:00 2001
From: Stewart Williams <16945415+bravostuzero@users.noreply.github.com>
Date: Fri, 19 Oct 2018 14:12:50 +0100
Subject: [PATCH] Add root-level makefile to docker directory
---
README.md | 2 +-
docker/Makefile | 8 ++++++++
2 files changed, 9 insertions(+), 1 deletion(-)
create mode 100644 docker/Makefile
diff --git a/README.md b/README.md
index 487b52da..48312560 100644
--- a/README.md
+++ b/README.md
@@ -19,7 +19,7 @@ ska/tango-starter | Example image that demonstrates how to package the Star
To build the images, from the root of this repository execute:
cd docker
- make
+ make build
## Launching TANGO applications and services
The docker-compose directory contains a set of files that can be used to run a
diff --git a/docker/Makefile b/docker/Makefile
new file mode 100644
index 00000000..452f001c
--- /dev/null
+++ b/docker/Makefile
@@ -0,0 +1,8 @@
+.PHONY: tango help
+.DEFAULT_GOAL := help
+
+build: ## build all SKA TANGO docker images
+ $(MAKE) -C tango build
+
+help: ## show this help.
+ @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
--
GitLab