Docker GD Library

Add “GD Library with JPG support” extension on Docker

Troubles with Docker + PHP7 + GD resulting in “Call to undefined function imagecreatefromjpeg()”:

Under docker error Call to undefined function Intervention\Image\Gd\imagecreatefromjpeg:

refresh container with new extension (In dockerfile)

docker-compose up -d –build

–build Build images before starting containers.
-d, –detach Detached mode: Run containers in the background,
print new container names.

Blogbook : PHP | Javascript | Laravel | Corcel | CodeIgniter | VueJs | ReactJs | WordPress