hpc / charliecloud

Now hosted on GitLab.
https://gitlab.com/charliecloud/main
Apache License 2.0
312 stars 60 forks source link

`ch-image` pull doesn't properly retain information in `/ch/environment` #1900

Open nicholas-sly opened 6 months ago

nicholas-sly commented 6 months ago

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.