Extending AWS CodeBuild with Custom Build Environments
AWS CodeBuild’s built-in environments cover popular runtimes, but you can extend it to any language or toolchain by building a custom Docker image and hosting it in Amazon ECR. This walkthrough uses PHP as a concrete example.