Skip to content

Commit

Permalink
Fix CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
EugenMayer committed Oct 29, 2024
1 parent 2ca3d26 commit 47df570
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@ ENV LDAP_TLS_VERIFY_CLIENT=never
ENV LDAP_TLS_CERT_FILE=/opt/bitnami/openldap/certs/openldap.crt
ENV LDAP_TLS_KEY_FILE=/opt/bitnami/openldap/certs/openldap.key
ENV LDAP_TLS_CA_FILE=/opt/bitnami/openldap/certs/openldapCA.crt
COPY CERTS_PATH/cert.crt /opt/bitnami/openldap/certs/openldap.crt
COPY CERTS_PATH/tls.key /opt/bitnami/openldap/certs/openldap.key
COPY CERTS_PATH/ca.crt /opt/bitnami/openldap/certs/openldapCA.crt
run chown 1001:1001 /opt/bitnami/openldap/certs/openldap.crt /opt/bitnami/openldap/certs/openldap.key /opt/bitnami/openldap/certs/openldapCA.crt
COPY $CERTS_PATH/cert.crt /opt/bitnami/openldap/certs/openldap.crt
COPY $CERTS_PATH/tls.key /opt/bitnami/openldap/certs/openldap.key
COPY $CERTS_PATH/ca.crt /opt/bitnami/openldap/certs/openldapCA.crt

RUN chown 1001:1001 /opt/bitnami/openldap/certs/openldap.crt /opt/bitnami/openldap/certs/openldap.key /opt/bitnami/openldap/certs/openldapCA.crt

# bootstrap setup
COPY $TEMPLATE_PATH /ldifs/50-bootstrap.ldif
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Just run
./start.sh

#or
./tls/generate-tls.sh
sudo ./tls/generate-tls.sh ldap yes
docker-compose up -d
```

Expand All @@ -23,7 +23,7 @@ docker run -p 389:389 ghcr.io/eugenmayer/ldaptestserver:bitnami-type1
#or
docker run -p 389:389 ghcr.io/eugenmayer/ldaptestserver:bitnami-type2

# you can use the old osixia images using
# DEPRECATED: you can use the old osixia images using
docker run -p 389:389 ghcr.io/eugenmayer/ldaptestserver:osixia-type1
#or
docker run -p 389:389 ghcr.io/eugenmayer/ldaptestserver:osixia-type2
Expand Down Expand Up @@ -130,4 +130,4 @@ or memberOf will not work!

## Credits

Nowdays credits to the once again great chart of bitname [bitnami/openldap](https://hub.docker.com/r/bitnami/openldap) and in the past, thanks to [osixia/docker-openldap](https://github.com/osixia/docker-openldap) for the great image!
Now-days credits to the once again great chart of bitname [bitnami/openldap](https://hub.docker.com/r/bitnami/openldap) (and in the past, thanks to [osixia/docker-openldap](https://github.com/osixia/docker-openldap) for the great image)

0 comments on commit 47df570

Please sign in to comment.