Compare commits

..

2 Commits

Author SHA1 Message Date
7bd20d3495
add build automation 2024-11-27 22:56:46 +01:00
fd739ba9e6
add openldap service 2024-11-27 22:56:19 +01:00
3 changed files with 21 additions and 0 deletions

2
Makefile Normal file
View File

@ -0,0 +1,2 @@
build-%:
make -C $* build

13
openldap/Dockerfile Normal file
View File

@ -0,0 +1,13 @@
FROM debian:stable
ENV DEBIAN_FRONTEND=noninteractive
RUN apt update \
&& apt install -y slapd \
&& rm -rf /var/lib/apt/lists/*
EXPOSE 389
EXPOSE 636
ENTRYPOINT ["/usr/sbin/slapd"]
CMD []

6
openldap/Makefile Normal file
View File

@ -0,0 +1,6 @@
DOCKER ?= docker
IMAGE ?= unit/slapd
.PHONY: build
build:
$(DOCKER) build -t $(IMAGE) .