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

Update PHP unit test images to add mcrypt and redis

parent c764c93c
No related branches found
No related tags found
7 merge requests!31Sync 6-add-automated-secrets-detection with Master,!28Sync 6-add-automated-secrets-detection with master,!27Update 7-add-dependency-check to SonarScanner 4.0,!26Sync 7-add-dependency-check with develop,!23Upgrade 10-add-simple-unit-tests-for-containers branch with current develop,!22Resolve "add simple unit tests for containers",!20Update php unit test
...@@ -12,9 +12,10 @@ LABEL org.label-schema.build-date=$BUILD_DATE \ ...@@ -12,9 +12,10 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.schema-version="1.0" \ org.label-schema.schema-version="1.0" \
maintainer="Alan Nelson <alan.nelson@nebraska.edu>" maintainer="Alan Nelson <alan.nelson@nebraska.edu>"
RUN apk add --no-cache bash nodejs nodejs-npm $PHPIZE_DEPS \ RUN apk add --no-cache bash nodejs nodejs-npm libmcrypt-dev $PHPIZE_DEPS \
&& pecl install xdebug \ && pecl install xdebug redis \
&& docker-php-ext-enable xdebug \ && docker-php-ext-enable xdebug redis \
&& docker-php-ext-install mcrypt \
&& apk del --no-cache $PHPIZE_DEPS && apk del --no-cache $PHPIZE_DEPS
RUN curl -o /usr/local/bin/composer https://getcomposer.org/composer.phar \ RUN curl -o /usr/local/bin/composer https://getcomposer.org/composer.phar \
&& chmod 755 /usr/local/bin/composer && chmod 755 /usr/local/bin/composer
......
...@@ -12,9 +12,10 @@ LABEL org.label-schema.build-date=$BUILD_DATE \ ...@@ -12,9 +12,10 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.schema-version="1.0" \ org.label-schema.schema-version="1.0" \
maintainer="Alan Nelson <alan.nelson@nebraska.edu>" maintainer="Alan Nelson <alan.nelson@nebraska.edu>"
RUN apk add --no-cache bash nodejs nodejs-npm $PHPIZE_DEPS \ RUN apk add --no-cache bash nodejs nodejs-npm libmcrypt-dev $PHPIZE_DEPS \
&& pecl install xdebug \ && pecl install xdebug redis \
&& docker-php-ext-enable xdebug \ && docker-php-ext-enable xdebug redis \
&& docker-php-ext-install mcrypt \
&& apk del --no-cache $PHPIZE_DEPS && apk del --no-cache $PHPIZE_DEPS
RUN curl -o /usr/local/bin/composer https://getcomposer.org/composer.phar \ RUN curl -o /usr/local/bin/composer https://getcomposer.org/composer.phar \
&& chmod 755 /usr/local/bin/composer && chmod 755 /usr/local/bin/composer
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment