From e3f879c9dafdb952c37a9a3f24372a239f114c01 Mon Sep 17 00:00:00 2001 From: Xueshan Feng <xueshan-feng@stanford.edu> Date: Fri, 6 Mar 2020 14:52:49 -0800 Subject: [PATCH] Workaround /usr/lib/ldap. --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7ad9a65..3cf919f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -42,7 +42,10 @@ COPY etc/saslauthd.conf /etc/saslauthd.conf # Link default configuration path to customized paths RUN ln -s /usr/lib/slapd /usr/sbin/slapd \ - && ln -s /etc/ldap/sasl2/slapd.conf /usr/lib/sasl2/slapd.conf + && ln -s /etc/ldap/sasl2/slapd.conf /usr/lib/sasl2/slapd.conf \ + && mkdir -p /artifacts/usr/lib \ + && ln -s /usr/lib/ldap /artifacts/usr/lib + # Start up file COPY start.sh /start.sh -- GitLab