openfrontier / docker-gerrit

Build a Docker image with the Gerrit code review system
Apache License 2.0
197 stars 116 forks source link

Specifying LDAP_ACCOUNTSCOPE results in a crash #4

Closed dmclain closed 9 years ago

dmclain commented 9 years ago

When specifying LDAP_ACCOUNTSCOPE, a docker run fails with

First time initialize gerrit...
Generating SSH host key ... rsa(simple)... done
Initialized /var/gerrit/review_site
error: unknown switch `c'

The problem appears to be at https://github.com/openfrontier/docker-gerrit/blob/master/gerrit-entrypoint.sh#L40 where git config -cd is used instead of git config -f

thinkernel commented 9 years ago

@dmclain I fixed LDAP_ACCOUNTSCOPE days ago. Does it work for you? I just want to know if this issue can be closed.