I'm running integration tests within a docker container that is hosted by another container that is using the ghcr.io/catthehacker/ubuntu:act-latest image. In addition, this is all running within a GitHub actions job locally via act.
Goal
Within the child integration test container, I want to run docker compose commands that build necessary dependency containers for the tests. I'm able to mount the docker binary from the host /ubuntu:act-latest container although the docker compose plugin is not included which results in docker compose commands failing. I'm not sure if I'm missing any other volume that are needed in order for the docker compose plugin to work.
Background
I'm running integration tests within a docker container that is hosted by another container that is using the
ghcr.io/catthehacker/ubuntu:act-latest
image. In addition, this is all running within a GitHub actions job locally via act.Goal
Within the child integration test container, I want to run
docker compose
commands that build necessary dependency containers for the tests. I'm able to mount the docker binary from the host/ubuntu:act-latest
container although the docker compose plugin is not included which results indocker compose
commands failing. I'm not sure if I'm missing any other volume that are needed in order for the docker compose plugin to work.Here are relevant snippets from files:
tests.yml
github action job:docker-compose.yml
withintegration
service called from github action job:Thank you in advance