cve-2024-38477/httpd-2.4.59/test/travis_Dockerfile_slapd
2025-06-05 15:09:30 +02:00

10 lines
556 B
Plaintext

FROM ubuntu:bionic
RUN echo slapd slapd/password1 password travis | debconf-set-selections
RUN echo slapd slapd/password2 password travis | debconf-set-selections
RUN echo slapd slapd/internal/adminpw password travis | debconf-set-selections
RUN echo slapd slapd/internal/generated_adminpw password travis | debconf-set-selections
RUN echo slapd slapd/domain string example.com | debconf-set-selections
RUN apt-get update && apt-get -y install slapd ldap-utils
# With -d passed, slapd stays in the foreground
CMD /usr/sbin/slapd -d1 '-h ldap:// ldapi:///'