Installing GD in Docker | Newbedev
newbedev.com › installing-gd-in-dockerFROM php:5.6-apache RUN docker-php-ext-install mysql mysqli RUN apt-get update -y && apt-get install -y sendmail libpng-dev RUN apt-get update && \ apt-get install -y \ zlib1g-dev RUN docker-php-ext-install mbstring RUN docker-php-ext-install zip RUN docker-php-ext-install gd Then go to directory with Dockerfile and run:
PHP: Install 7.3 via Docker
prototype.php.net › versions › 7PHP.net does not offer its own docker images, instead, each time PHP.net releases a new version, Docker (the company) automatically downloads the latest source code and compiles it multiple times to create various docker images which are then made available via the default repository of docker hub.