[PR #61] [MERGED] Fix for Issue 56 #64

Closed
opened 2026-02-27 16:47:51 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/rroemhild/docker-test-openldap/pull/61
Author: @randallmorse
Created: 3/24/2025
Status: Merged
Merged: 4/1/2025
Merged by: @rroemhild

Base: masterHead: patch-1


📝 Commits (1)

📊 Changes

1 file changed (+6 additions, -1 deletions)

View changed files

📝 Dockerfile (+6 -1)

📄 Description

Fix for Issue 56:

https://github.com/rroemhild/docker-test-openldap/issues/56

Docker does not automatically substitute environment variables in the HEALTHCHECK instruction.

add a line to create a health check script with the variables rendered, and adjusted the health check to execute that script.

67e1be24 slapd starting
[services.d] done.
67e1be3e conn=1000 fd=138 ACCEPT from IP=127.0.0.1:59546 (IP=0.0.0.0:10389)
67e1be3e conn=1000 op=0 BIND dn="cn=admin,dc=planetexpress,dc=com" method=128
67e1be3e conn=1000 op=0 BIND dn="cn=admin,dc=planetexpress,dc=com" mech=SIMPLE ssf=0
67e1be3e conn=1000 op=0 RESULT tag=97 err=0 text=
67e1be3e conn=1000 op=1 SRCH base="cn=admin,dc=planetexpress,dc=com" scope=2 deref=0 filter="(objectClass=*)"
67e1be3e conn=1000 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text=
67e1be3e conn=1000 op=2 UNBIND
67e1be3e conn=1000 fd=138 closed

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/rroemhild/docker-test-openldap/pull/61 **Author:** [@randallmorse](https://github.com/randallmorse) **Created:** 3/24/2025 **Status:** ✅ Merged **Merged:** 4/1/2025 **Merged by:** [@rroemhild](https://github.com/rroemhild) **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`fba09ec`](https://github.com/rroemhild/docker-test-openldap/commit/fba09ec95bc61d0d7b1389afaa6444f1e5ed2aba) Fix for Issue 56 ### 📊 Changes **1 file changed** (+6 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `Dockerfile` (+6 -1) </details> ### 📄 Description Fix for Issue 56: https://github.com/rroemhild/docker-test-openldap/issues/56 Docker does not automatically substitute environment variables in the HEALTHCHECK instruction. add a line to create a health check script with the variables rendered, and adjusted the health check to execute that script. ``` 67e1be24 slapd starting [services.d] done. 67e1be3e conn=1000 fd=138 ACCEPT from IP=127.0.0.1:59546 (IP=0.0.0.0:10389) 67e1be3e conn=1000 op=0 BIND dn="cn=admin,dc=planetexpress,dc=com" method=128 67e1be3e conn=1000 op=0 BIND dn="cn=admin,dc=planetexpress,dc=com" mech=SIMPLE ssf=0 67e1be3e conn=1000 op=0 RESULT tag=97 err=0 text= 67e1be3e conn=1000 op=1 SRCH base="cn=admin,dc=planetexpress,dc=com" scope=2 deref=0 filter="(objectClass=*)" 67e1be3e conn=1000 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text= 67e1be3e conn=1000 op=2 UNBIND 67e1be3e conn=1000 fd=138 closed ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 16:47:51 +03:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/docker-test-openldap#64
No description provided.