Commit c8e4a8cb authored by ∞'s avatar 💻

Add yourlabs/php image yay !

parent 2d622af1
Pipeline #2595 failed with stage
in 1 minute and 57 seconds
......@@ -28,3 +28,6 @@ python:
ansible:
<<: *build
php:
<<: *build
FROM php:7-alpine
RUN apk update && apk --no-cache upgrade && apk --no-cache add curl bash git diffutils
RUN curl https://raw.githubusercontent.com/composer/getcomposer.org/76a7060ccb93902cd7576b67264ad91c8a2700e2/web/installer | php
RUN pecl install xdebug && docker-php-ext-enable xdebug
RUN docker-php-ext-install -j$(nproc) intl
RUN docker-php-ext-install -j$(nproc) pdo
RUN docker-php-ext-install -j$(nproc) pdo_mysql
RUN docker-php-ext-install -j$(nproc) mysqli
RUN docker-php-ext-install -j$(nproc) mbstring
RUN docker-php-ext-install -j$(nproc) simplexml
RUN docker-php-ext-install -j$(nproc) curl
ENV COMPOSER_ALLOW_SUPERUSER 1
CMD php composer.phar install && vendor/bin/phpunit
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment