From 96489508b7a5db2f53740fb37df5271ce22a7394 Mon Sep 17 00:00:00 2001
From: Stephane Bonnet <stephane.bonnet@hds.utc.fr>
Date: Sat, 4 May 2019 18:01:36 +0200
Subject: [PATCH] Added an openldap custom image based on osixia/openldap

---
 pica-openldap/Dockerfile |  6 ++++++
 pica-openldap/Makefile   | 12 ++++++++++++
 2 files changed, 18 insertions(+)
 create mode 100644 pica-openldap/Dockerfile
 create mode 100644 pica-openldap/Makefile

diff --git a/pica-openldap/Dockerfile b/pica-openldap/Dockerfile
new file mode 100644
index 00000000..db3764b2
--- /dev/null
+++ b/pica-openldap/Dockerfile
@@ -0,0 +1,6 @@
+FROM osixia/openldap:1.2.4
+MAINTAINER bonnetst@utc.fr
+
+ADD bootstrap /container/service/slapd/assets/config/bootstrap
+ADD certs /container/service/slapd/assets/certs
+ADD environment /container/environment/01-custom
diff --git a/pica-openldap/Makefile b/pica-openldap/Makefile
new file mode 100644
index 00000000..071e72db
--- /dev/null
+++ b/pica-openldap/Makefile
@@ -0,0 +1,12 @@
+NAME = pica/openldap
+VERSION = 0.0.1
+
+.PHONY: all build build-nocache
+
+all: build
+
+build:
+	docker build -t $(NAME):$(VERSION) --rm .
+
+build:
+	docker build -t $(NAME):$(VERSION) --no-cache --rm .
-- 
GitLab