-
-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an entrypoint script #89
Conversation
I did some preliminary testing - the build works fine, and the entrypoint loads the variables appropriately. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! Just a small thing, we don't have to install bash to keep the container small, but otherwise it looks good!
Codecov Report
@@ Coverage Diff @@
## main #89 +/- ##
=======================================
Coverage 74.79% 74.79%
=======================================
Files 13 13
Lines 3170 3170
=======================================
Hits 2371 2371
Misses 799 799 Continue to review full report at Codecov.
|
I mean, if they hack their container by setting a weird environment variable, we can't protect them against themselves :D Thanks, |
Oh, and please rebase against main as well. |
…sion the upstream containers
should be good to go now |
Final nit: can you add some docs to the lldap_config template? Most people will only look at that when configuring the service |
trust me, if its a possibility, someone will do something stupid XD |
np. done |
The script allows secrets to be set via env var defined filenames, and preserves the ability to pass different
lldap
subcommands/args via the docker command.Documentation was updated to note the changes.
I took the liberty of pinning the upstream builder and base containers to alpine 3.14 since I noticed
alpine:latest
points to 3.15 whilerust:alpine
uses 3.14. I doubt its causing any issues, but it seems smart to control which versions are used rather than just pointing to latest. Let me know if you have a reason to keep it on latest and I can remove that change.Addresses #84