Docker-php-ext-install mcrypt missing folder
To install mcrypt
extension you have to make sure you did install libmcrypt-dev
which is required.
Try to add:
RUN apt install libmcrypt-dev
before you are trying to install extensions for php.
Update
Try to run first:
docker-php-ext-configure mcrypt
and then
docker-php-ext-install mcrypt