make docker-compose-build error

Hi all,

Happen error during run "make docker-compose-build“ as below:
Traceback (most recent call last):
File “setup.py”, line 9, in
from setuptools import setup
ModuleNotFoundError: No module named ‘setuptools’
Traceback (most recent call last):
File “setup.py”, line 9, in
from setuptools import setup
ModuleNotFoundError: No module named ‘setuptools’
ansible-playbook tools/ansible/dockerfile.yml -e build_dev=True -e receptor_image=quay.io/ansible/receptor:devel
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match
‘all’

PLAY [Render AWX Dockerfile and sources] *******************************************************************************

TASK [Gathering Facts] *************************************************************************************************
ok: [localhost]

TASK [dockerfile : Create _build directory] ****************************************************************************
ok: [localhost]

TASK [dockerfile : Render supervisor configs] **************************************************************************
ok: [localhost] => (item=supervisor.conf)
ok: [localhost] => (item=supervisor_task.conf)

TASK [dockerfile : Render Dockerfile] **********************************************************************************
ok: [localhost]

PLAY RECAP *************************************************************************************************************
localhost : ok=4 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0

DOCKER_BUILDKIT=1 docker build -t quay.io/awx/awx_devel:devel
–build-arg BUILDKIT_INLINE_CACHE=1
–cache-from=quay.io/awx/awx_devel:devel .
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
Error: unable to parse value provided `` to --cache-from: repository must contain neither a tag nor digest: quay.io/awx/ awx_devel:devel
make: *** [Makefile:492: docker-compose-build] Error 125

Does there anyone can help me ?

maybe run “pip install setuptools” and try again, does that help?

thanks. i installed setuptools and it can remove the first part error that " No module named ‘setuptools’ ". However the second error still happen :

DOCKER_BUILDKIT=1 docker build -t quay.io/awx/awx_devel:devel
–build-arg BUILDKIT_INLINE_CACHE=1
–cache-from=quay.io/awx/awx_devel:devel .
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
Error: unable to parse value provided `` to --cache-from: repository must contain neither a tag nor digest: quay.io/awx/ awx_devel:devel
make: *** [Makefile:492: docker-compose-build] Error 125

Even i copy the command there to run manually ,look like still happen the error. Not sure is it something about the command or my os env ?

在2023年2月23日星期四 UTC+8 04:07:29 写道:

I see “Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.”

are you using podman? you’ll want to use docker when running make docker-compose-build

AWX Team

Hi,
Did you manage to get this working, anything else we can help with?