Add single-use identity password setup
This commit is contained in:
parent
a58df4c3e6
commit
76270a239e
5 changed files with 319 additions and 4 deletions
|
|
@ -1,7 +1,9 @@
|
|||
FROM lldap/lldap:stable AS lldap
|
||||
FROM python:3.12-slim@sha256:d764629ce0ddd8c71fd371e9901efb324a95789d2315a47db7e4d27e78f1b0e9
|
||||
RUN useradd --create-home --uid 10001 provisioner
|
||||
WORKDIR /app
|
||||
COPY provisioner.py server.py /app/
|
||||
COPY --from=lldap /app/lldap_set_password /app/lldap_set_password
|
||||
COPY provisioner.py password_setup.py server.py /app/
|
||||
USER 10001:10001
|
||||
EXPOSE 8080
|
||||
CMD ["python", "server.py"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue