[GH-ISSUE #884] [FEATURE REQUEST] Include bootstrap.sh in Docker image #320

Closed
opened 2026-02-27 08:16:38 +03:00 by kerem · 2 comments
Owner

Originally created by @djjudas21 on GitHub (Mar 28, 2024).
Original GitHub issue: https://github.com/lldap/lldap/issues/884

Motivation
Please consider adding bootstrap.sh to the Docker image. This would enable Kubernetes to execute the script from the same image (by overriding the COMMAND at runtime) without having to package the script separately.

My use case is to allow the Helm chart to run bootstrap.sh as a one-shot job, then start up lldap as a service, using the same image.

Describe alternatives you've considered
Currently the only alternative is to manually copy bootstrap.sh into the Helm chart, and keep it updated. I'd rather not 🙂

Originally created by @djjudas21 on GitHub (Mar 28, 2024). Original GitHub issue: https://github.com/lldap/lldap/issues/884 **Motivation** Please consider adding `bootstrap.sh` to the Docker image. This would enable Kubernetes to execute the script from the same image (by overriding the `COMMAND` at runtime) without having to package the script separately. My use case is to allow the Helm chart to run `bootstrap.sh` as a one-shot job, then start up lldap as a service, using the same image. **Describe alternatives you've considered** Currently the only alternative is to manually copy `bootstrap.sh` into the Helm chart, and keep it updated. I'd rather not :slightly_smiling_face:
kerem 2026-02-27 08:16:38 +03:00
Author
Owner

@nitnelave commented on GitHub (Mar 28, 2024):

Sure, I'm not opposed to that. Do you want to PR that?

<!-- gh-comment-id:2026069828 --> @nitnelave commented on GitHub (Mar 28, 2024): Sure, I'm not opposed to that. Do you want to PR that?
Author
Owner

@djjudas21 commented on GitHub (Mar 28, 2024):

Sure, I'll have a look

<!-- gh-comment-id:2026075963 --> @djjudas21 commented on GitHub (Mar 28, 2024): Sure, I'll have a look
Sign in to join this conversation.
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/lldap-lldap#320
No description provided.