Skip to content

Commit 693b210

Browse files
committed
mount ldif folder instead of individual files
h/t @mtodd
1 parent 14dfc2a commit 693b210

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed

.travis.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ install:
3333
--env LDAP_TLS_VERIFY_CLIENT=try \
3434
-p 389:389 \
3535
-p 636:636 \
36-
-v $(pwd)/test/fixtures/seed.ldif:/container/service/slapd/assets/config/bootstrap/ldif/50-bootstrap.ldif \
37-
-v $(pwd)/test/fixtures/openldap/retcode.ldif:/container/service/slapd/assets/config/bootstrap/ldif/06-retcodes.ldif \
36+
-v "$(pwd)"/test/fixtures/ldif:/container/service/slapd/assets/config/bootstrap/ldif/custom \
3837
--name openldap \
3938
--detach \
4039
osixia/openldap:1.3.0 \

script/ldap-docker

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ docker run --rm -ti \
77
--hostname ldap.example.org \
88
--env LDAP_TLS_VERIFY_CLIENT=try \
99
-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 \
10+
-v "$(pwd)"/test/fixtures/ldif:/container/service/slapd/assets/config/bootstrap/ldif/custom \
1211
--name my-openldap-container \
1312
osixia/openldap:1.3.0 --copy-service --loglevel debug
File renamed without changes.

0 commit comments

Comments
 (0)