A (wercker) box for combining PHP and node into a single box. This includes Composer, Yarn, PHPUnit
4.7K
This is a box to combine PHP and Node in a single box.
This also includes:
system
PHP
Node
To use this in wercker:
box: kingsquare/wercker-php-node
build:
steps:
- script:
name: set yarn cache
code: yarn config set cache-folder $WERCKER_CACHE_DIR/yarn
- script:
name: set composer environment variables for using wercker cache
code: export COMPOSER_CACHE_DIR=$WERCKER_CACHE_DIR/composer
- mbrevda/composer-install:
opts: --no-interaction --optimize-autoloader
- script:
name: install NodeJS dependencies for building sass et al
code: yarn
- script:
name: build
code: yarn run build
Used versions can be fetched from the environment (PHP_VERSION / NODE_VERSION / YARN_VERSION / COMPOSER_VERSION)
Content type
Image
Digest
Size
203.3 MB
Last updated
over 6 years ago
docker pull kingsquare/wercker-php-node