Skip to content
Snippets Groups Projects
Commit 4dceee67 authored by Alan Nelson's avatar Alan Nelson
Browse files

Add PHP dependencies to Unit Test images

parent 41a03def
No related branches found
No related tags found
2 merge requests!65Develop to master add php dependencies,!64Add PHP Dependencies
......@@ -12,9 +12,11 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.schema-version="1.0" \
maintainer="Alan Nelson <alan.nelson@nebraska.edu>"
RUN apk add --no-cache bash nodejs nodejs-npm $PHPIZE_DEPS \
RUN export BUILD_DEPS="bzip2-dev icu-dev libpng-dev libzip-dev openldap-dev" \
&& apk add --no-cache bash nodejs nodejs-npm $PHPIZE_DEPS $BUILD_DEPS \
&& pecl channel-update pecl.php.net \
&& pecl install xdebug redis \
&& docker-php-ext-install bz2 gd intl ldap mysqli pdo_mysql zip \
&& docker-php-ext-enable xdebug redis \
&& apk del --no-cache $PHPIZE_DEPS
RUN curl -o /usr/local/bin/composer https://getcomposer.org/composer.phar \
......
......@@ -12,9 +12,11 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.schema-version="1.0" \
maintainer="Alan Nelson <alan.nelson@nebraska.edu>"
RUN apk add --no-cache bash nodejs nodejs-npm $PHPIZE_DEPS \
RUN export BUILD_DEPS="bzip2-dev icu-dev libpng-dev libzip-dev openldap-dev" \
&& apk add --no-cache bash nodejs nodejs-npm $PHPIZE_DEPS $BUILD_DEPS \
&& pecl channel-update pecl.php.net \
&& pecl install xdebug redis \
&& docker-php-ext-install bz2 gd intl ldap mysqli pdo_mysql zip \
&& docker-php-ext-enable xdebug redis \
&& apk del --no-cache $PHPIZE_DEPS
RUN curl -o /usr/local/bin/composer https://getcomposer.org/composer.phar \
......
......@@ -12,9 +12,11 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.schema-version="1.0" \
maintainer="Alan Nelson <alan.nelson@nebraska.edu>"
RUN apk add --no-cache bash nodejs nodejs-npm $PHPIZE_DEPS \
RUN export BUILD_DEPS="bzip2-dev icu-dev libpng-dev libzip-dev openldap-dev" \
&& apk add --no-cache bash nodejs nodejs-npm $PHPIZE_DEPS $BUILD_DEPS \
&& pecl channel-update pecl.php.net \
&& pecl install xdebug redis \
&& docker-php-ext-install bz2 gd intl ldap mysqli pdo_mysql zip \
&& docker-php-ext-enable xdebug redis \
&& apk del --no-cache $PHPIZE_DEPS
RUN curl -o /usr/local/bin/composer https://getcomposer.org/composer.phar \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment