We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c1c56d commit f67e741Copy full SHA for f67e741
script/ldap-docker
@@ -0,0 +1,13 @@
1
+#!/usr/bin/env bash
2
+# Usage: script/ldap-docker
3
+#
4
+# Starts a openldap docker container ready for integration tests
5
+
6
+docker run --rm -ti \
7
+ --hostname ldap.example.org \
8
+ --env LDAP_TLS_VERIFY_CLIENT=try \
9
+ -p 389:389 -p 636:636 \
10
+ -v $(pwd)/test/fixtures/seed.ldif:/container/service/slapd/assets/config/bootstrap/ldif/50-bootstrap.ldif \
11
+ -v $(pwd)/test/fixtures/openldap/retcode.ldif:/container/service/slapd/assets/config/bootstrap/ldif/06-retcodes.ldif \
12
+ --name my-openldap-container \
13
+ osixia/openldap:1.3.0 --copy-service --loglevel debug
0 commit comments