petk / php-release

Docker image for preparing PHP 7.4 releases

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PHP release builder

This is a fork of an attempt to standardize and automate most of the build process for PHP releases. It is based on sgolemon/php-release and dshafik/php-build.

This container is currently based on debian:jessie.

It will do the following:

  • Clone PHP from the GitHub
  • Create the release branch from the correct branch
  • Update the version number/date/credits in various files
  • Build PHP for nts, debug-nts, zts, and debug-zts and run tests in each version
  • Compare the build -v version against the intended version
  • Create the packages
  • Provide instructions for finalizing the release

Features

  • Repeatable, system independent builds
  • Configuration file for unattended builds
  • Ability to rebuild using release branch

Running the container

You need to mount a workspace directory at /workspace. This directory must contain a config file (see config.default for settings). The build process will create/overwrite the following folders and files within /workspace:

  1. php-src/: The checkout from php-src. This checkout is performed fresh with every invocation of php-release.
  2. log/{config,make,test}.{debug-,}{nts,zts}: Results of ./configure, make, and make test across debug/non-debug zts/nts
docker run --rm -v/home/$USER/workspace:/workspace petk/php-release

This will pull the image from hub.docker.com and run it.

About

Docker image for preparing PHP 7.4 releases


Languages

Language:Shell 87.2%Language:Dockerfile 12.8%