File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,9 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
12
12
maintainer="Andriy Yun <andriy.yun@gmail.com>, Andy Postnikov <apostnikov@gmail.com>"
13
13
14
14
RUN apk add --no-cache \
15
+ curl \
16
+ git \
17
+ patch \
15
18
php7 \
16
19
php7-apcu \
17
20
php7-ctype \
@@ -22,8 +25,6 @@ RUN apk add --no-cache \
22
25
php7-phar \
23
26
php7-xml \
24
27
php7-zlib \
25
- curl \
26
- git \
27
28
&& ln -s /usr/bin/php7 /usr/bin/php \
28
29
&& curl -sS https://getcomposer.org/installer | php -- --filename=composer --install-dir=/usr/bin \
29
30
&& composer global require drupal/coder \
@@ -34,6 +35,7 @@ RUN apk add --no-cache \
34
35
&& git clone --branch master https://git.drupal.org/sandbox/coltrane/1921926.git /root/drupalsecure_code_sniffs \
35
36
&& cd /root/drupalsecure_code_sniffs && curl https://www.drupal.org/files/issues/parenthesis_closer_notice-2320623-2.patch | git apply && cd \
36
37
&& apk del --no-cache git \
38
+ && rm -rf /root/.composer/cache/* \
37
39
&& ln -s /root/drupalsecure_code_sniffs/DrupalSecure /root/.composer/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/DrupalSecure
38
40
39
41
VOLUME /work
You can’t perform that action at this time.
0 commit comments