Skip to content
Snippets Groups Projects
Commit 5d18c561 authored by nimrod's avatar nimrod
Browse files

Corrections to the ldap-account-manager container.

- ldap-account-manager is not available on Debian buster right now, use
Debian sid instead.
- Document the default password.
parent 6af9fd2c
Branches
No related tags found
No related merge requests found
FROM debian:buster-slim FROM debian:sid-slim
RUN apt-get update && \ RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
ldap-account-manager\ ldap-account-manager\
......
...@@ -7,4 +7,5 @@ ...@@ -7,4 +7,5 @@
The image isn't configured with environment variables, instead it uses a volume The image isn't configured with environment variables, instead it uses a volume
for `/var/lib/ldap-account-manager` that contains the application's for `/var/lib/ldap-account-manager` that contains the application's
configuration files. On first run the default files are copied to the volume and configuration files. On first run the default files are copied to the volume and
the configuration is done through the application itself. the configuration is done through the application itself. The default master
password is `lam`.
#!/bin/sh #!/bin/sh
set -eux set -eux
chown root:root /var/lib/ldap-account-manager install -d -m 755 -o root -g root /var/lib/ldap-account-manager
chmod 755 /var/lib/ldap-account-manager
cp --archive --no-clobber --verbose --no-target-directory /var/lib/ldap-account-manager.orig /var/lib/ldap-account-manager cp --archive --no-clobber --verbose --no-target-directory /var/lib/ldap-account-manager.orig /var/lib/ldap-account-manager
eval exec "$@" eval exec "$@"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment