Sign inSign up

seeruk/php-build

By seeruk

Updated almost 9 years ago

Docker image packaging for a PHP, designed for build environments.

Image
0

699

seeruk/php-build repository overview

Docker PHP Build

Docker image packaging for a PHP, designed for build environments. Available on the Docker Hub.

Usage

The following environment variables are available to allow you to configure how the container will run, and various options within it:

  • PHP_UID: Allows you to configure the UID of the php user within the container. This is set via the container entrypoint. (Default: 1000)
  • PHP_GID: Allows you to configure the GID of the php user within the container. This is set via the container entrypoint. (Default: 1000)
  • PHP_HOME: Allows you to configure the home directory of the php user within the container. (Default: /home/php)
  • PHP_WORKDIR: This will specify the directory that the CMD will be executed in. This is set via the container entrypoint. (Default: /opt/www)

Notes

Currently the default user ID is 1000, for working on Linux machines with a default user; you should however be able to specify any user.

License

MIT

Contributing

Feel free to open a pull request, or file an issue on Github. I always welcome contributions as long as they're for the benefit of all (potential) users of this image.

If you're unsure about anything, feel free to ask about it in an issue before you get your heart set on fixing it yourself.

Tag summary

Content type

Image

Digest

Size

201.9 MB

Last updated

almost 9 years ago

docker pull seeruk/php-build:7.1