Skip to content

Commit fee04d8

Browse files
committed
attempt to make docker command more readable
1 parent dc6d75d commit fee04d8

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.travis.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,19 @@ before_install:
2727
- gem update bundler
2828

2929
install:
30-
- docker run --hostname ldap.example.org --env LDAP_TLS_VERIFY_CLIENT=try -p 389:389 -p 636:636 -v $(pwd)/test/fixtures/seed.ldif:/container/service/slapd/assets/config/bootstrap/ldif/50-bootstrap.ldif -v $(pwd)/test/fixtures/openldap/retcode.ldif:/container/service/slapd/assets/config/bootstrap/ldif/06-retcodes.ldif --name openldap --detach osixia/openldap:1.3.0 --copy-service --loglevel debug
30+
->
31+
docker run
32+
--hostname ldap.example.org
33+
--env LDAP_TLS_VERIFY_CLIENT=try
34+
-p 389:389
35+
-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
38+
--name openldap
39+
--detach
40+
osixia/openldap:1.3.0
41+
--copy-service
42+
--loglevel debug
3143
- bundle install
3244

3345
script: bundle exec rake ci

0 commit comments

Comments
 (0)