julien-langlois / docker-phpwebapp

Docker image embedding php 7 and several tools useful for CI/CD cycles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 \
    .

About

Docker image embedding php 7 and several tools useful for CI/CD cycles

License:GNU General Public License v3.0


Languages

Language:Dockerfile 100.0%