Skip to content

Commit da69352

Browse files
committed
fix(build): try to make latest dirsrv build again
- although dsctl should have the restart command, we get the "invalid choice: 'restart'" error when building with it - not seeing much info about it… trying to built without Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
1 parent eb5c6b9 commit da69352

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

user_saml-dirsrv/Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ ENV DS_SUFFIX_NAME dc=idptestbed
66
ADD conf/* /var/opt/
77

88
RUN rm -Rf /data/*
9+
910
RUN /usr/libexec/dirsrv/dscontainer -r & \
10-
sleep 60; \
11-
WAIT_TIME=60; \
11+
WAIT_TIME=25; \
12+
sleep ${WAIT_TIME}; \
1213
while : ; do \
1314
if /usr/libexec/dirsrv/dscontainer -H; then \
1415
break; \
@@ -25,8 +26,9 @@ RUN /usr/libexec/dirsrv/dscontainer -r & \
2526
dsconf localhost schema reload; \
2627
dsconf localhost plugin memberof enable; \
2728
dsconf localhost plugin memberof set --autoaddoc inetOrgPerson; \
28-
dsctl localhost restart; \
29+
echo "### Memberof Status" \
2930
dsconf localhost plugin memberof status; \
31+
echo "### Memberof Show" \
3032
dsconf localhost plugin memberof show; \
3133
dsconf localhost backend import "dc=idptestbed" /var/opt/entries.ldif; \
3234
rm /var/opt/entries.ldif;

0 commit comments

Comments
 (0)