problem description
my Jenkins was started with docker, and now I want to use it to execute composer install-- no-dev
command to install dependencies. I found that there is no plug-in to install PHP (there is a plug-in called Phing, which is used to perform a series of build tasks, but does not provide php
). I compiled PHP on the host, then mounted / usr/local/bin/php
into the container, and found
php: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
it seems that the shared library has not been found. How do you do it?