-
Notifications
You must be signed in to change notification settings - Fork 736
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate step for linting in travis matrix. Readded phpdocumentor
- Loading branch information
1 parent
84612d5
commit eb2036b
Showing
6 changed files
with
42 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# This image is the base image for the Elastica development and includes all parts which rarely change | ||
# PHP 7 Docker file with Composer installed | ||
FROM php:7.2 | ||
MAINTAINER Nicolas Ruflin <[email protected]> | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
cloc \ | ||
git \ | ||
graphviz \ | ||
libxslt-dev \ | ||
nano \ | ||
zip unzip \ | ||
wget | ||
# XSL and Graphviz for PhpDocumentor | ||
|
||
RUN docker-php-ext-install sockets xsl | ||
|
||
RUN rm -r /var/lib/apt/lists/* | ||
|
||
# Xdebug for coverage report | ||
RUN pecl install xdebug-2.6.1 | ||
|
||
RUN echo "memory_limit=1024M" >> /usr/local/etc/php/conf.d/memory-limit.ini | ||
RUN echo "date.timezone=UTC" >> /usr/local/etc/php/conf.d/timezone.ini | ||
|
||
# Install and setup composer | ||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer | ||
ENV COMPOSER_HOME /root/composer | ||
|
||
# Add composer bin to the environment | ||
ENV PATH=/root/composer/vendor/bin:$PATH | ||
|
||
COPY composer.json /root/composer/ | ||
|
||
RUN composer global require --no-update friendsofphp/php-cs-fixer:^2.0 | ||
|
||
# Install development tools, prefer source removed as automatic fallback now | ||
RUN composer global install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters