Sign inSign up

robbrazier/php

By robbrazier

•Updated almost 4 years ago

PHP image based on the official PHP alpine with composer and prestissimo pre-installed

Image
0

10K+

robbrazier/php repository overview

⁠docker-php-composer Build status Docker Pulls

⁠A Docker Image with composer⁠ and prestissimo⁠ preinstalled

⁠Usage

docker pull robbrazier/php:${version}

There is a tag for each directory contained within this repository (see here⁠ for a full list of tags)

⁠Environment Variables

To avoid user permission errors when running this container with a mounted volume, there are two environment variables that can be set:

PUID=1001 # User ID [default: root]
PGID=1001 # Group ID [ default: root]

Usually this will be set to the User ID and Group ID of your current user.

On MacOS/Linux this can be found by running

id -u # User ID
id -g # Group ID

I don't have a Windows machine, so am not 100% sure what the values would be for Windows (hopefully someone can assist with this :smile:)

⁠Entrypoint

This Image uses the same entrypoint and command as the official php image (i.e. if you just run docker run -it robbrazier/php, a PHP REPL will open)

⁠Default Working Directory

The default working directory is set to /var/app, however this can be easily modified.

⁠Automated Builds

This repository is set to build every month, so that the images are updated with the latest versions of composer, prestissimo and php

Tag summary

Content type

Image

Digest

sha256:6422d8b49…

Size

37.3 MB

Last updated

almost 4 years ago

docker pull robbrazier/php