Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove pdo from PHP build
skoranda committed Apr 24, 2018
1 parent 0f696d7 commit fdfcc07
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion comanage-registry-basic-auth/Dockerfile.template
@@ -34,7 +34,7 @@ RUN apt-get update && apt-get install -y \
&& docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql \
&& docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu \
&& docker-php-ext-configure mysqli --with-mysqli=/usr/bin/mysql_config \
&& docker-php-ext-install xsl pdo pdo_mysql pdo_pgsql mysqli pgsql ldap \
&& docker-php-ext-install xsl pdo_mysql pdo_pgsql mysqli pgsql ldap \
&& docker-php-source delete \
&& apt-get purge -y \
libldap2-dev \
2 changes: 1 addition & 1 deletion comanage-registry-mod-auth-openidc/Dockerfile.template
@@ -34,7 +34,7 @@ RUN apt-get update && apt-get install -y \
&& docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql \
&& docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu \
&& docker-php-ext-configure mysqli --with-mysqli=/usr/bin/mysql_config \
&& docker-php-ext-install xsl pdo pdo_mysql pdo_pgsql mysqli pgsql ldap \
&& docker-php-ext-install xsl pdo_mysql pdo_pgsql mysqli pgsql ldap \
&& docker-php-source delete \
&& apt-get purge -y \
libldap2-dev \
5 changes: 3 additions & 2 deletions comanage-registry-shibboleth-sp/Dockerfile.template
@@ -20,7 +20,8 @@
# Official PHP image with Apache HTTPD includes
# --with-openssl
# --with-mbstring
# but xls, pdo, pdo_mysql, pdo_pgsql, mysqli, pgsql,
# and includes pdo
# but xls, pdo_mysql, pdo_pgsql, mysqli, pgsql,
# and ldap extensions must be built.
FROM php:7.0-apache

@@ -168,7 +169,7 @@ RUN apt-get update && apt-get install -y \
&& docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql \
&& docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu \
&& docker-php-ext-configure mysqli --with-mysqli=/usr/bin/mysql_config \
&& docker-php-ext-install xsl pdo pdo_mysql pdo_pgsql mysqli pgsql ldap \
&& docker-php-ext-install xsl pdo_mysql pdo_pgsql mysqli pgsql ldap \
&& docker-php-source delete \
&& apt-get purge -y \
libldap2-dev \
2 changes: 1 addition & 1 deletion comanage-registry/Dockerfile.template
@@ -34,7 +34,7 @@ RUN apt-get update && apt-get install -y \
&& docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql \
&& docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu \
&& docker-php-ext-configure mysqli --with-mysqli=/usr/bin/mysql_config \
&& docker-php-ext-install xsl pdo pdo_mysql pdo_pgsql mysqli pgsql ldap \
&& docker-php-ext-install xsl pdo_mysql pdo_pgsql mysqli pgsql ldap \
&& docker-php-source delete \
&& apt-get purge -y \
libldap2-dev \

0 comments on commit fdfcc07

Please sign in to comment.