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 65e8db5

Browse files
committed
Base build files
1 parent 023c156 commit 65e8db5

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

‎Dockerfile‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
FROM alpine:edge
2+
MAINTAINER Harry Walter
3+
MAINTAINER Andriy Yun <andriy.yun@gmail.com>
4+
5+
RUN echo "@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
6+
&& apk add --update php7@testing php7-xml@testing php7-phar@testing \
7+
php7-openssl@testing php7-mbstring@testing php7-json@testing php7-ctype@testing \
8+
curl patch \
9+
&& rm -fr /var/cache/apk/* \
10+
&& ln -s /usr/bin/php7 /usr/bin/php \
11+
&& curl -sS https://getcomposer.org/installer | php -- --filename=composer --install-dir=/usr/bin
12+
13+
RUN composer global require drupal/coder \
14+
&& ln -s /root/.composer/vendor/squizlabs/php_codesniffer/scripts/phpcs /usr/bin/phpcs \
15+
&& ln -s /root/.composer/vendor/squizlabs/php_codesniffer/scripts/phpcbf /usr/bin/phpcbf \
16+
&& ln -s /root/.composer/vendor/drupal/coder/coder_sniffer/Drupal /root/.composer/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Drupal
17+
18+
VOLUME /work
19+
WORKDIR /work
20+
21+
ENTRYPOINT ["phpcs", "--standard=Drupal"]

‎php.ini‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
; No memory limits
2+
memory_limit=-1

0 commit comments

Comments
(0)

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