Hi ,
I would like to enable sockets on PHP to use mongofill with Yii2
https://github.com/mongofill/mongofill
But there's no documentation and no easy way to do it :(
Can you help me plz ?
Thx
Something simple like this should do the trick:
FROM php:7
RUN docker-php-ext-install sockets
Combine that with automated builds (https://docs.docker.com/docker-hub/builds/) and repository links (https://docs.docker.com/docker-hub/builds/#repository-links) and it's reasonably easy to have an up-to-date image built FROM this one with the sockets extension installed.
It works like a charm !
Thx
Most helpful comment
Something simple like this should do the trick:
Combine that with automated builds (https://docs.docker.com/docker-hub/builds/) and repository links (https://docs.docker.com/docker-hub/builds/#repository-links) and it's reasonably easy to have an up-to-date image built
FROMthis one with thesocketsextension installed.