Saturday, 12 May 2018

Installing MCYRPT on a php::apache docker


Trying to install MCRYPT on a php:apache docker machine?

I found this to work:
RUN apt-get install -y libmcrypt-dev libreadline-dev
RUN pecl install mcrypt-1.0.1
RUN docker-php-ext-enable mcrypt

No comments:

Post a Comment