Skip to content

Docker image for preparing PHP 7.4 releases

Notifications You must be signed in to change notification settings

petk/php-release

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 87.2%
  • Dockerfile 12.8%