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

**URL:** <https://forum.ansible.com/t/ansible-builder-docker-fails-with-source-image-error/36973>\
**Category:** AWX Project\
**Tags:** awx, ee\
**Created:** [August 10, 2022, 6:16pm UTC](https://forum.ansible.com/t/ansible-builder-docker-fails-with-source-image-error/36973 "2022-08-10T18:16:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Edvinas](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/edvinas/32/5406_2.png) [@Edvinas](https://forum.ansible.com/u/Edvinas)\
**Post date:** [August 10, 2022, 6:16pm UTC](https://forum.ansible.com/t/ansible-builder-docker-fails-with-source-image-error/36973/1 "2022-08-10T18:16:07Z")

</div>

Hello,

I’m trying to create custom EE according to this guide: [https://www.linkedin.com/pulse/creating-custom-ee-awx-phil-griffiths/](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](http://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](http://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](http://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](http://quay.io/ansible/ansible-runner:devel)_  
_Please provide a source image with `from` prior to commit_

Maybe someone has experienced it ? Thanks

---

<div class="post-metadata">

**Author:** ![mani3887](https://avatars.discourse-cdn.com/v4/letter/m/9f8e36/32.png) [@mani3887](https://forum.ansible.com/u/mani3887)\
**Post date:** [August 11, 2022, 6:46pm UTC](https://forum.ansible.com/t/ansible-builder-docker-fails-with-source-image-error/36973/2 "2022-08-11T18:46:13Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Edvinas](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/edvinas/32/5406_2.png) [@Edvinas](https://forum.ansible.com/u/Edvinas)\
**Post date:** [August 12, 2022, 2:35pm UTC](https://forum.ansible.com/t/ansible-builder-docker-fails-with-source-image-error/36973/3 "2022-08-12T14:35:03Z")

</div>

thanks,

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