Skip to content

Commit 9c17922

Browse files
authored
Create Dockerfile
0 parents  commit 9c17922

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Dockerfile

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
FROM jakzal/phpqa:alpine
2+
3+
LABEL maintainer="tolgakaprol@gmail.com"
4+
5+
RUN apk --update add wget curl git php php-curl php-openssl php-json php-phar php-dom && rm /var/cache/apk/*
6+
7+
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer
8+
9+
RUN composer global require "wp-coding-standards/wpcs"
10+
11+
RUN phpcs --config-set installed_paths /tools/.composer/vendor/wp-coding-standards/wpcs
12+
13+
RUN phpcs --config-set default_standard WordPress-Extra
14+
15+
CMD php $TOOLBOX_TARGET_DIR/toolbox list-tools

0 commit comments

Comments
 (0)