contrib/openldap: add a OpenLDAP container for testing

This commit is contained in:
Eric Chiang
2016-10-20 09:43:06 -07:00
parent 3e94e65b68
commit 373ac050f7
9 changed files with 198 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
FROM alpine
MAINTAINER eric.chiang@coreos.com
# groll installs soelim, which is required by the build.
RUN apk add --update alpine-sdk openssl-dev db-dev groff
ADD assets/openldap-2.4.44 /openldap-2.4.44
WORKDIR /openldap-2.4.44
RUN ./configure
RUN make depend
RUN make
RUN make install
RUN apk del groff alpine-sdk
ADD scripts/entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]