File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
- FROM alpine:3.6
1
+ FROM alpine:3.8
2
2
3
3
ARG BUILD_DATE
4
4
ARG VCS_REF
@@ -18,18 +18,20 @@ RUN set -e \
18
18
patch \
19
19
php7 \
20
20
php7-apcu \
21
+ php7-curl \
21
22
php7-ctype \
22
23
php7-json \
23
24
php7-mbstring \
24
25
php7-opcache \
25
26
php7-openssl \
27
+ php7-pdo_mysql \
26
28
php7-phar \
27
29
php7-simplexml \
28
30
php7-tokenizer \
29
31
php7-xmlwriter \
30
32
php7-zlib \
31
33
&& curl -sS https://getcomposer.org/installer | php -- --filename=composer --install-dir=/usr/bin \
32
- && composer global require drupal/coder --update-no-dev --no-suggest --prefer-dist ^ 8.2 \
34
+ && composer global require drupal/coder --update-no-dev --no-suggest --prefer-dist ~ 8.2.10 \
33
35
&& ln -s /root/.composer/vendor/bin/phpcs /usr/bin/phpcs \
34
36
&& ln -s /root/.composer/vendor/bin/phpcbf /usr/bin/phpcbf \
35
37
&& 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 \
38
40
&& git clone --branch master https://git.drupal.org/sandbox/coltrane/1921926.git /root/drupalsecure_code_sniffs \
39
41
&& rm -rf /root/drupalsecure_code_sniffs/.git \
40
42
&& cd /root/drupalsecure_code_sniffs && curl https://www.drupal.org/files/issues/parenthesis_closer_notice-2320623-2.patch | git apply && cd \
41
- && apk del --no-cache git \
42
43
&& rm -rf /root/.composer/cache/* \
43
44
&& ln -s /root/drupalsecure_code_sniffs/DrupalSecure /root/.composer/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/DrupalSecure \
44
45
&& sed -i "s/.*memory_limit = .*/memory_limit = -1/" /etc/php7/php.ini
You can’t perform that action at this time.
0 commit comments