Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0e2c27e

Browse files
committed
Update codesniffer, add patch & remove composer cache
1 parent c5013d0 commit 0e2c27e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎Dockerfile‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
1212
maintainer="Andriy Yun <andriy.yun@gmail.com>, Andy Postnikov <apostnikov@gmail.com>"
1313

1414
RUN apk add --no-cache \
15+
curl \
16+
git \
17+
patch \
1518
php7 \
1619
php7-apcu \
1720
php7-ctype \
@@ -22,8 +25,6 @@ RUN apk add --no-cache \
2225
php7-phar \
2326
php7-xml \
2427
php7-zlib \
25-
curl \
26-
git \
2728
&& ln -s /usr/bin/php7 /usr/bin/php \
2829
&& curl -sS https://getcomposer.org/installer | php -- --filename=composer --install-dir=/usr/bin \
2930
&& composer global require drupal/coder \
@@ -34,6 +35,7 @@ RUN apk add --no-cache \
3435
&& git clone --branch master https://git.drupal.org/sandbox/coltrane/1921926.git /root/drupalsecure_code_sniffs \
3536
&& cd /root/drupalsecure_code_sniffs && curl https://www.drupal.org/files/issues/parenthesis_closer_notice-2320623-2.patch | git apply && cd \
3637
&& apk del --no-cache git \
38+
&& rm -rf /root/.composer/cache/* \
3739
&& ln -s /root/drupalsecure_code_sniffs/DrupalSecure /root/.composer/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/DrupalSecure
3840

3941
VOLUME /work

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /