Skip to content

CODESIGN2/docker-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-php

Just a dockerised PHP made to run PHPUnit, composer on PHP packages to enable matrix-build like experience using CODESIGN2/docker-jenkins

Build Status

Building

git clone https://github.com/CODESIGN2/docker-php
cd docker-php
docker build -t $ORG/docker-php:$PHP_VERSION ./ --build-arg PHP_VERSION=$PHP_VERSION

Using

Probably best to build using your own derrived image. This was done as an experiment to deepen & evidence Jenkins CI expertise.

It's used internally, but will maybe be revisited 1-2 times per-year.

For sample simple real-world use-case check example usage in php-ulid

You don't need to run multiple PHP runtimes in parallel, but it cuts down time testing.

Notes / Troubleshooting

  • XDebug PHP extension takes a while to be released for a PHP release. As this uses official PHP docker library image.
  • Older PHP is not an option, so the 5.6 release is dead right now (it's only getting security releases until December)

Releases

No releases published

Packages

No packages published