This repository was archived by the owner on May 27, 2025. It is now read-only.
This repository was archived by the owner on May 27, 2025. It is now read-only.
Closed
Description
Some systems have /var/tmp -> /tmp
. In this case, when using the default storage path of /var/tmp
, you can hit errors with the build cache.
$ ch-image pull --arch=ppc64le --tls-no-verify nvcr.io/nvidia/cuda:11.8.0-devel-ubi8
[...]
environment: {'GIT_DIR': '/var/tmp/sly1.ch/img/nvcr.io%nvidia%cuda+11.8.0-devel-ubi8/ch/git', 'GIT_WORK_TREE': '/var/tmp/sly1.ch/img/nvcr.io%nvidia%cuda+11.8.0-devel-ubi8'}
fatal: Not a git repository: /tmp/sly1.ch/bucache/worktrees/nvcr.io%nvidia%cuda+11.8.0-devel-ubi8
error: command failed with code 128: git add -A
perhaps set CH_IMAGE_STORAGE to the deferenced path, in this case, /tmp
, to avoid issue?