Sign inSign up

metal3d/php-adapt

By metal3d

•Updated almost 10 years ago

A simple PHP image with build args to adapt www-data

Image
0

649

metal3d/php-adapt repository overview

⁠Docker PHP Adapt

This is a simple Docker file to let user to change UID and GID of www-data.

It could be used with a new Dockerfile that have only this line:

FROM metal3d/php-adapt:7

Then, build it like this:

docker build -t an-image-name --build-arg WWW_GID=$(id -u) --build-arg WWW_GID=$(id -g) .

And now, your "an-image-name" has www-data user having the same id/gid than your working user.

Tag summary

Content type

Image

Digest

Size

169.9 MB

Last updated

almost 10 years ago

docker pull metal3d/php-adapt