Jenkins with PHP

Hi,

we are extremely new to docker. Our goal is to run docker with jenkins and php7. The root infrastructure is a synology disk station.
Within jenkins we want to run “php composer.phar”.
Therefore we have two images/containers which we have linked together through docker-compose.
But php seems not to be available in the jenkins container.

Is this a general problem, we did not mentioned?

Our yaml file:

php:
 image: php:7.0.4-fpm
jenkins:
 image: jenkins:latest
 ports: 
  - 8080:8080
  - 50000:50000
 volumes: 
  - /volume1/docker/happyshops/jenkins:/var/jenkins_home
 links:
 - php:php

Thank you for your help.

Hello,

Have you found any solution/approach to this problem? I have exactly the same setup:
http://pastebin.com/ZDx6WsW9

Please share your setup if you have fixed it. Thanks.

hey did you found the solution?

Hi, no, we didn’t continue with this approach, so it was not further examined.