Hi, first, thanks for you'r reply.
I found that in my execution-environment.yml file, I forgot to set as dependecy my requirement.txt file...
So i added this line :
-----------------------------------------execution-environment.yml------------------------------------------------
---
version: 1
build_arg_defaults:
EE_BASE_IMAGE: '
quay.io/ansible/ansible-runner:latest'
dependencies:
galaxy: _build/requirements.yml
system: _build/bindep.txt
python: requirements.txtadditional_build_steps:
append:
- RUN alternatives --set python /usr/bin/python3
- COPY --from=
quay.io/ansible/receptor:devel /usr/bin/receptor /usr/bin/receptor
- RUN mkdir -p /var/run/receptor
- ADD run.sh /run.sh
- CMD /run.sh
- USER 1000
- RUN git lfs install
--------------------------------------------------------------------------------------------------------------------------------------
For the version I use, i set in _build/bindep.txt :
----------------------------------------------------------bindep.txt------------------------------------------------------------
python38-devel [platform:rpm compile]
subversion [platform:rpm]
subversion [platform:dpkg]
git-lfs [platform:rpm]
python3-netaddr [platform:rpm]
--------------------------------------------------------------------------------------------------------------------------------------
For the versions installed i run the image locally with podman and type commands :
--------------------------------------------------------------------------------------------------------------------------------------
bash-4.4$ yum list installed python3-netaddr
python3-netaddr.noarch 0.7.19-8.el8
bash-4.4$ pip list | grep addr
ipaddress 1.0.23
bash-4.4$ python3 --version
Python 3.8.12
--------------------------------------------------------------------------------------------------------------------------------------
But even after I've rebuild with the good dependencies, netaddr still not in pip list output..
There is another way than building with docker ?
Best regards.
Arnaud PIZZETTA