27 lines
1.1 KiB
Docker
27 lines
1.1 KiB
Docker
FROM docker.io/bitnami/minideb:buster
|
|
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
|
|
|
ENV HOME="/" \
|
|
OS_ARCH="amd64" \
|
|
OS_FLAVOUR="debian-10" \
|
|
OS_NAME="linux"
|
|
|
|
COPY prebuildfs /
|
|
# Install required system packages and dependencies
|
|
RUN install_packages acl ca-certificates curl gzip libc6 libdb5.3 libltdl7 libnss3-tools libodbc1 libperl5.28 libsasl2-2 libssl1.1 libwrap0 mdbtools procps psmisc tar
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "openldap" "2.4.59-1" --checksum 56d9814755e6b83d8f146d99c3ecd48b4b0ddc3c74e9b217936fbd54250016b8
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-0" --checksum 3e6fc37ca073b10a73a804d39c2f0c028947a1a596382a4f8ebe43dfbaa3a25e
|
|
RUN chmod g+rwX /opt/bitnami
|
|
|
|
COPY rootfs /
|
|
RUN /opt/bitnami/scripts/openldap/postunpack.sh
|
|
ENV BITNAMI_APP_NAME="openldap" \
|
|
BITNAMI_IMAGE_VERSION="2.4.59-debian-10-r96" \
|
|
PATH="/opt/bitnami/openldap/bin:/opt/bitnami/openldap/sbin:/opt/bitnami/common/bin:$PATH"
|
|
|
|
EXPOSE 1389 1636
|
|
|
|
USER 1001
|
|
ENTRYPOINT [ "/opt/bitnami/scripts/openldap/entrypoint.sh" ]
|
|
CMD [ "/opt/bitnami/scripts/openldap/run.sh" ]
|