From 6b109ed5bb743a107141715bca30cb9df5718276 Mon Sep 17 00:00:00 2001 From: Markus Opolka Date: Sun, 9 Jul 2023 12:09:45 +0200 Subject: [PATCH] Add OS libraries for ldaps --- 5.0/apache/Dockerfile | 2 ++ 5.0/fpm-alpine/Dockerfile | 7 ++++++- 5.0/fpm/Dockerfile | 2 ++ 6.0/apache/Dockerfile | 2 ++ 6.0/fpm-alpine/Dockerfile | 7 ++++++- 6.0/fpm/Dockerfile | 2 ++ 6 files changed, 20 insertions(+), 2 deletions(-) diff --git a/5.0/apache/Dockerfile b/5.0/apache/Dockerfile index d65bbdf..fe1320f 100644 --- a/5.0/apache/Dockerfile +++ b/5.0/apache/Dockerfile @@ -6,6 +6,8 @@ RUN set -ex; \ apt-get update; \ apt-get install -y --no-install-recommends \ netcat-openbsd \ + libldap-common \ + libsasl2-modules \ ; \ \ apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \ diff --git a/5.0/fpm-alpine/Dockerfile b/5.0/fpm-alpine/Dockerfile index af8fb7c..177c6eb 100644 --- a/5.0/fpm-alpine/Dockerfile +++ b/5.0/fpm-alpine/Dockerfile @@ -2,7 +2,12 @@ FROM docker.io/php:8.0-fpm-alpine LABEL maintainer="markus@martialblog.de" # Install OS dependencies -RUN apk add --no-cache netcat-openbsd bash +RUN set -ex; \ + apk add --no-cache \ + netcat-openbsd \ + libsasl \ + libldap \ + bash # Install PHP Plugins # hadolint ignore=SC2086 diff --git a/5.0/fpm/Dockerfile b/5.0/fpm/Dockerfile index b698c9b..0abc69c 100644 --- a/5.0/fpm/Dockerfile +++ b/5.0/fpm/Dockerfile @@ -6,6 +6,8 @@ RUN set -ex; \ apt-get update; \ apt-get install -y --no-install-recommends \ netcat-openbsd \ + libldap-common \ + libsasl2-modules \ ; \ \ apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \ diff --git a/6.0/apache/Dockerfile b/6.0/apache/Dockerfile index 437d56a..0764f58 100644 --- a/6.0/apache/Dockerfile +++ b/6.0/apache/Dockerfile @@ -6,6 +6,8 @@ RUN set -ex; \ apt-get update; \ apt-get install -y --no-install-recommends \ netcat-openbsd \ + libldap-common \ + libsasl2-modules \ ; \ \ apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \ diff --git a/6.0/fpm-alpine/Dockerfile b/6.0/fpm-alpine/Dockerfile index e5e1807..1d55b35 100644 --- a/6.0/fpm-alpine/Dockerfile +++ b/6.0/fpm-alpine/Dockerfile @@ -2,7 +2,12 @@ FROM docker.io/php:8.0-fpm-alpine LABEL maintainer="markus@martialblog.de" # Install OS dependencies -RUN apk add --no-cache netcat-openbsd bash +RUN set -ex; \ + apk add --no-cache \ + netcat-openbsd \ + libsasl \ + libldap \ + bash # Install PHP Plugins # hadolint ignore=SC2086 diff --git a/6.0/fpm/Dockerfile b/6.0/fpm/Dockerfile index 48fcd02..c550ad1 100644 --- a/6.0/fpm/Dockerfile +++ b/6.0/fpm/Dockerfile @@ -6,6 +6,8 @@ RUN set -ex; \ apt-get update; \ apt-get install -y --no-install-recommends \ netcat-openbsd \ + libldap-common \ + libsasl2-modules \ ; \ \ apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \