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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
FROM debian:buster-slim
FROM debian:sid-slim
RUN apt-get update && \
    DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
        ldap-account-manager\
+2 −1
Original line number Diff line number Diff line
@@ -7,4 +7,5 @@
The image isn't configured with environment variables, instead it uses a volume
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
the configuration is done through the application itself.
the configuration is done through the application itself. The default master
password is `lam`.
+1 −2
Original line number Diff line number Diff line
#!/bin/sh
set -eux

chown root:root /var/lib/ldap-account-manager
chmod 755 /var/lib/ldap-account-manager
install -d -m 755 -o root -g root /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 "$@"