diff --git a/Dockerfile b/Dockerfile index 8abf067..70d4074 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.6 +FROM alpine:3.8 ARG BUILD_DATE ARG VCS_REF @@ -18,18 +18,20 @@ RUN set -e \ patch \ php7 \ php7-apcu \ + php7-curl \ php7-ctype \ php7-json \ php7-mbstring \ php7-opcache \ php7-openssl \ + php7-pdo_mysql \ php7-phar \ php7-simplexml \ php7-tokenizer \ php7-xmlwriter \ php7-zlib \ && curl -sS https://getcomposer.org/installer | php -- --filename=composer --install-dir=/usr/bin \ - && composer global require drupal/coder --update-no-dev --no-suggest --prefer-dist ^8.2 \ + && composer global require drupal/coder --update-no-dev --no-suggest --prefer-dist ~8.2.10 \ && ln -s /root/.composer/vendor/bin/phpcs /usr/bin/phpcs \ && ln -s /root/.composer/vendor/bin/phpcbf /usr/bin/phpcbf \ && ln -s /root/.composer/vendor/drupal/coder/coder_sniffer/Drupal /root/.composer/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Drupal \ @@ -38,7 +40,6 @@ RUN set -e \ && git clone --branch master https://git.drupal.org/sandbox/coltrane/1921926.git /root/drupalsecure_code_sniffs \ && rm -rf /root/drupalsecure_code_sniffs/.git \ && cd /root/drupalsecure_code_sniffs && curl https://www.drupal.org/files/issues/parenthesis_closer_notice-2320623-2.patch | git apply && cd \ - && apk del --no-cache git \ && rm -rf /root/.composer/cache/* \ && ln -s /root/drupalsecure_code_sniffs/DrupalSecure /root/.composer/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/DrupalSecure \ && sed -i "s/.*memory_limit = .*/memory_limit = -1/" /etc/php7/php.ini