From 22ba4db95582e5db1adc1491a9cc2385348e2b56 Mon Sep 17 00:00:00 2001 From: Thales Macedo Garitezi Date: Fri, 6 Oct 2023 13:53:39 -0300 Subject: [PATCH] ci(ldap): fix ldap image start command When running locally (linux): ``` 65203b70.18825a20 0x7f38a4b17540 @(#) $OpenLDAP: slapd 2.5.16 (Sep 28 2023 21:52:49) $ @buildkitsandbox:/openldap-2.5.16/servers/slapd 65203b70.1c1e0a61 0x7f38a4b17540 ch_calloc of 1 elems of 60129541696 bytes failed slapd: ch_malloc.c:107: ch_calloc: Assertion `0' failed. ``` Reference: https://github.com/moby/moby/issues/8231#issuecomment-65230477 --- .ci/docker-compose-file/docker-compose-ldap.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.ci/docker-compose-file/docker-compose-ldap.yaml b/.ci/docker-compose-file/docker-compose-ldap.yaml index 03627c763..6804f6b01 100644 --- a/.ci/docker-compose-file/docker-compose-ldap.yaml +++ b/.ci/docker-compose-file/docker-compose-ldap.yaml @@ -6,6 +6,8 @@ services: build: context: ../.. dockerfile: .ci/docker-compose-file/openldap/Dockerfile + ulimits: + nofile: 1024 image: openldap #ports: # - 389:389