ansible-builder (docker) fails with 'source image' error

,

Hello,

I’m trying to create custom EE according to this guide: https://www.linkedin.com/pulse/creating-custom-ee-awx-phil-griffiths/

but on the building step i got this error:

(builder) notier [linux@dctstt001prvla2 ansible-builder]# ansible-builder build -t quay.io/edvkai/awx-ee:latest --context ./context --container-runtime docker -v3

Ansible Builder is building your execution environment image, “quay.io/edvkai/awx-ee:latest”.
File ./context/_build/requirements.yml is already up-to-date.
Writing partial Containerfile without collection requirements
Running command:
docker build -f ./context/Dockerfile -t quay.io/edvkai/awx-ee:latest ./context
Sending build context to Docker daemon 6.656 kB
Step 1/8 : ARG ANSIBLE_RUNNER_IMAGE=quay.io/ansible/ansible-runner:devel
Please provide a source image with from prior to commit

Maybe someone has experienced it ? Thanks

I recently created the EE image by following the below steps:

  1. Creating the execution_ environment.yml file. When you run the Ansible builder, this file basically generates the docker file and builds the AWX EE image.
  2. In this yaml file, you can give the release version. Depending on which version on Ansible/Ansible runner you want, you can go to that. This information is present in tools/requirements_stable_.txt in Ansible runner repo. If you are okay with the latest, you can pick the quay latest and apply it in the execution environment.yaml file.
  3. In the Ansible build command, I gave the flag -f execution_environment.yaml file.
    Can you share your execution_environment file here?

Regards,
Mani

thanks,

seems the problem was - that i’ve been running very old docker version.:slight_smile: