# general


09/28/2022, 2:52 PM
Hello. I have a weird behavior and I suspect some caching somewhere but that's just a feeling. We're building container images using podman, a rootless replacement for docker. It emulates the docker cli so nothing should change besides one exception, it needs to executables named newuidmap and newgidmap. Both are on /usr/bin. When executing
./pants package ::
, the build fails saying it can't find the executable 'newuidmap' on $PATH. I tried to add the following to the pants.toml file:
Copy code
tools = [
and sometimes it works, sometimes it doesn't. When it starts to work, I can remove the section and it continues to work. Sometimes the problem comes back. I'm not sure how to reproduce that easily and I can't guarantee that nothing changed in my environment. I tried removing the caches, but it doesn't seem to have an effect. Any idea on what's going on or what I should do to dig deeper?