BlueBuildB
BlueBuild16mo ago
Sneexy

ERROR: failed to solve: cannot copy to non-directory: /var/lib/[...]/usr/local

i'm trying to make a new image for myself, my current setup consists of 2 separate images:
  • one simply does stuff such as compiling software or downloading other content to prevent filling the main image with build dependecies
  • the other is the actual bluebuild image, where it copies the files of the first image into the image itself
for some reason, despite essentially just cloning the setup from another image, this is erroring out. bluebuild gives me ERROR: cannot copy to non-directory: /var/lib/buildkit/runc-overlayfs/cachemounts/buildkit2036245495/usr/local. it seems like it doesn't like doing anything with /usr/local, but i think i've confirmed that the first image doesn't have that directory. so i'm completely lost here.

related files:
Was this page helpful?