Hi Alex and Ben,
I tested the php images outside of Pipelines and it doesn't look like SSH is installed:
#!bash
$ docker run -i -t --rm --entrypoint=/bin/bash phpunit/phpunit
bash-4.3# ssh
bash: ssh: command not found
$ docker run -i -t --rm --entrypoint=/bin/bash php:7.0.16
root@7c340c12e84d:/# ssh
bash: ssh: command not found
You mentioned this used to work? It may be that the image itself or one of the base images it's built on top of has changed to no longer install SSH.
If you require SSH in your build you can create your own Docker image that adds SSH to the php image, for example:
Dockerfile:
#!Dockerfile
FROM php:7.0.16
RUN apt update && apt install -y openssh-client
docker build -t <your_dockerhub_username>/php-ssh:7.0.16 .
Please see the Dockerfile reference for more information about building Docker images: https://docs.docker.com/engine/reference/builder/
I hope this helps.
Regards
Sam
Hey Sam,
I disabled pipelines to avoid it failing builds over and over. I will reenable pipelines and get a screenshot of the error then open a support ticket as you suggested.
Thanks,
Andrew