When Charliecloud pulls containers from a registry (in my case, a Gitlab repo registry), the file /ch/environment is changed to a generic state containing PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin rather than the information put in there when the container was built using the ENV directives. A viable workaround at the moment (assuming you have podman) is to pull with podman and then ch-convert to Charliecloud.
When Charliecloud pulls containers from a registry (in my case, a Gitlab repo registry), the file
/ch/environment
is changed to a generic state containingPATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
rather than the information put in there when the container was built using theENV
directives. A viable workaround at the moment (assuming you have podman) is to pull with podman and thench-convert
to Charliecloud.