From 7bd20d34955aa60f59d809a3f485df4442530fbb Mon Sep 17 00:00:00 2001 From: Blallo Date: Wed, 27 Nov 2024 22:56:46 +0100 Subject: [PATCH] add build automation --- Makefile | 2 ++ openldap/Makefile | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100644 Makefile create mode 100644 openldap/Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..8ba800a --- /dev/null +++ b/Makefile @@ -0,0 +1,2 @@ +build-%: + make -C $* build diff --git a/openldap/Makefile b/openldap/Makefile new file mode 100644 index 0000000..1b6c858 --- /dev/null +++ b/openldap/Makefile @@ -0,0 +1,6 @@ +DOCKER ?= docker +IMAGE ?= unit/slapd + +.PHONY: build +build: + $(DOCKER) build -t $(IMAGE) .