@@ -73,6 +73,7 @@ RUN set -x \
7373 nodejs \
7474 postgresql-client \
7575 python-pip \
76+ redis-tools \
7677 rubygems \
7778 ruby-dev \
7879 shellcheck \
@@ -187,6 +188,16 @@ RUN set -x \
187188&& cd / \
188189&& rm -rf /usr/local/src/phalcon-devtools/.git \
189190 \
191+ # phpcs
192+ && curl -q https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar > /usr/local/bin/phpcs 2>/dev/null \
193+ && chmod +x /usr/local/bin/phpcs \
194+ \
195+ # phpcbf
196+ && curl -q https://squizlabs.github.io/PHP_CodeSniffer/phpcbf.phar > /usr/local/bin/phpcbf 2>/dev/null \
197+ && chmod +x /usr/local/bin/phpcbf \
198+ \
199+ # sass
200+ && gem install sass \
190201# symfony
191202 && curl https://symfony.com/installer -L -o /usr/local/bin/symfony \
192203 && chmod +x /usr/local/bin/symfony \
@@ -195,6 +206,10 @@ RUN set -x \
195206# wpcli
196207 && curl https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -L -o /usr/local/bin/wp \
197208 && chmod +x /usr/local/bin/wp \
209+ # yamllint
210+ && apt update && apt install --no-install-recommends --no-install-suggests -y libpython-dev python-setuptools libyaml-dev \
211+ && pip install yamllint \
212+ && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps libpython-dev python-setuptools libyaml-dev && rm -rf /var/lib/apt/lists/* \
198213# cleanup
199214 && rm -rf /home/${MY_USER}/.*json \
200215&& rm -rf /home/${MY_USER}/.cache \
@@ -264,9 +279,13 @@ RUN set -x \
264279 && su - ${MY_USER} -c '/usr/local/src/linuxbrew/bin/brew --version' | grep -E 'Homebrew\s*[.0-9]+' \
265280 && mysqldump-secure --version | grep -E 'Version:\s*[.0-9]+' \
266281 && phalcon commands | grep -E '[.0-9]+' \
282+ && phpcs --version | grep -E 'version [.0-9]+' \
283+ && phpcbf --version | grep -E 'version [.0-9]+' \
284+ && sass --version | grep -E '[.0-9]+' \
267285 && symfony --version | grep -E 'version\s*[.0-9]+' \
268286 && webpack --version | grep -E '[.0-9]+' \
269287 && wp --allow-root --version | grep -E '[.0-9]+' \
288+ && yamllint --version 2>&1 | grep -E '[.0-9]+' \
270289 && true
271290
272291
0 commit comments