RUN apt-get update && apt-get install -y libmcrypt-dev && docker-php-ext-install -j$(nproc) mcrypt There is a dependency that libmcrypt-dev needed before you can run docker-php-ext-install mcrypt. I've checked my older Dockerfiles and found something which might help you. Install PHP 7.0 on Ubuntu. Use the following set of commands to add PPA for PHP 7 in your Ubuntu system and install PHP 7.0 version. Sudo apt-get install python-software-properties sudo add-apt-repository ppa:ondrej/php sudo apt-get update sudo apt-get install -y php7.0 Now use the following command to check installed php version on your system. Phpbrew update phpbrew install -j $(nproc) 7.4 +default Docker. Official PHP images can be found on Docker Hub. As of PHP 7.4's release date, the php:7.4 image hasn't been tagged yet; once it is, you can use that for your base images. Docker is also a great way to tinker with PHP 7.4 in a local interactive shell without installing it first! Docker Desktop includes Docker App, developer tools, Kubernetes and version synchronization to production Docker Engines. Docker Desktop allows you to leverage certified images and templates and your choice of languages and tools. Development workflows leverage Docker Hub to extend your development environment to a secure repository for rapid.
Key Features and Capabilities
The fastest way to design and deliver containerized applications and microservices on the desktop and cloud.
Simple Setup for Docker and Kubernetes
No need to fiddle with VMs or add a bunch of extra components; simply install from a single package and have your first containers running in minutes. You get certified Kubernetes and Docker, for developers of all levels of container expertise.
Certified Kubernetes
Setup a fully functional Kubernetes environment on your desktop with a single click and start developing and testing modern applications in minutes.
Application Templates and App Designer
Docker Php 7.3 Install Gd
Customize and share multi-service applications and service templates that are tailored to your organization. Pre-defined and customizable application templates adhere to corporate standards and automate configuration, eliminating error-prone manual setup. Intuitive Application Designer facilitates the packaging, installing, and managing of multi-service applications as a shareable package.