ARG ANSIBLE_RUNNER_IMAGE=quay.io/ansible/ansible-runner:devel ARG PYTHON_BUILDER_IMAGE=quay.io/ansible/python-builder:latest FROM $ANSIBLE_RUNNER_IMAGE as galaxy ARG ANSIBLE_GALAXY_CLI_COLLECTION_OPTS= ADD _build /build WORKDIR /build RUN ansible-galaxy role install -r requirements.yml --roles-path /usr/share/ansible/roles RUN ansible-galaxy collection install $ANSIBLE_GALAXY_CLI_COLLECTION_OPTS -r requirements.yml --collections-path /usr/share/ansible/collections