Circle CI Docker Image: Php + Java

90 Views Asked by At

I found separate Circle CI docker image for Php and Java.

- image: circleci/php:7.2.30
- image: circleci/openjdk:11.0.3-jdk-stretch

And I have run command to use 'java' command and it fails because it runs before jdk library. Is there any circleci docker image with Php + Java?

or how to wait the 'run' command until docker image is ready?

1

There are 1 best solutions below

0
On

In order to "wait" you should use

wait-for: cobli/[email protected]

as describd here: https://circleci.com/developer/orbs/orb/cobli/wait-for