Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 531 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 531 Bytes

Description

This image contains most commons dependency managers used to build php applications:

  • Composer
  • PHP Code Sniffer (PHPCS)
  • PHP Mess Detector (PHPMD)
  • PHPUnit

Build a custom image

To build a custom image with differents versions of libraries you can use Docker build args.

docker build -t phpwebapp \
    --build-arg PHP_VERSION=7.3 \
    --build-arg COMPOSER_VERSION=1.8.6 \
    --build-arg PHPCS_VERSION=^3.4 \
    --build-arg PHPMD_VERSION=^2.6 \
    --build-arg PHPUNIT_VERSION=^7.0 \
    .