17 lines
323 B
Docker
17 lines
323 B
Docker
|
FROM debian:stretch-slim
|
||
|
|
||
|
RUN apt-get update \
|
||
|
&& apt-get install -y --no-install-recommends \
|
||
|
curl \
|
||
|
git \
|
||
|
php \
|
||
|
zip \
|
||
|
unzip \
|
||
|
php-zip \
|
||
|
php-xml \
|
||
|
composer \
|
||
|
&& rm -rf /var/lib/apt/lists/*
|
||
|
|
||
|
RUN composer global require "squizlabs/php_codesniffer=*"
|
||
|
CMD ["/root/.composer/vendor/bin/phpcs", "/data"]
|