There was an error while loading. Please reload this page.
1 parent e0b980e commit afcfc15Copy full SHA for afcfc15
1 file changed
docker/docker-compose-rest.yml
@@ -101,10 +101,9 @@ services:
101
# /dspace/bin/dspace database migrate force
102
# /dspace/bin/start-handle-server
103
- |
104
- apt update
105
- apt install -y ldap-utils
+ apt update && apt install -y ldap-utils && apt clean && rm -rf /var/lib/apt/lists/*
106
mkdir -p /etc/ldap
107
- echo "TLS_CACERT /etc/ssl/certs/ca-certificates.crt" >> /etc/ldap/ldap.conf
+ grep -qxF "TLS_CACERT /etc/ssl/certs/ca-certificates.crt" /etc/ldap/ldap.conf || echo "TLS_CACERT /etc/ssl/certs/ca-certificates.crt" >> /etc/ldap/ldap.conf
108
export LDAPTLS_CACERT=/etc/ssl/certs/ca-certificates.crt
109
./custom_run.sh
110
# DSpace Solr container
0 commit comments