Dockerfile 318 Bytes
Newer Older
zauberstuhl's avatar
zauberstuhl committed
1 2 3 4 5 6 7
FROM osixia/openldap:1.2.1

RUN apt-get update
RUN apt-get install openssh-server python-ldap -y
RUN apt-get clean && apt-get autoclean

ADD entrypoint.sh /entrypoint.sh
8
ADD env_secrets_expand.sh /env_secrets_expand.sh
9

10
RUN chmod +x /*.sh
11
RUN mkdir -p /root/.ssh && chmod 600 /root/.ssh
zauberstuhl's avatar
zauberstuhl committed
12 13

ENTRYPOINT ["/entrypoint.sh"]