Просмотр исходного кода

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
Thales Macedo Garitezi 2 лет назад
Родитель
Сommit
22ba4db955
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      .ci/docker-compose-file/docker-compose-ldap.yaml

+ 2 - 0
.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