You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using crane append to append a TAR'd Windows layer to a base image, the resultant image fails crane validate with an error: Error: validating layers: duplicate file path: Files
I understand that the Files path is a special entry for windows layers, but I'm not sure why this is occurring. There is no documentation anywhere about this issue but according to the docs for crane append this should "just work" on windows.
The layer I am appending is a built .NET Framework 4.8.1 MVC App onto the image mcr.microsoft.com/dotnet/framework/aspnet:4.8.1-windowsservercore-ltsc2022
To Reproduce
Use crane append to append a windows directory onto an existing windows image using a windows x64 host machine.
Expected behavior
I expected the files from the TAR'd layer to be appended successfully to the base image, and the resultant image be runnable.
Additional context
Running on a windows image builder for github actions.
Output of crane version 0.19.1
Registry used (e.g., GCR, ECR, Quay) ECR
The text was updated successfully, but these errors were encountered:
Describe the bug
When using
crane append
to append a TAR'd Windows layer to a base image, the resultant image failscrane validate
with an error:Error: validating layers: duplicate file path: Files
I understand that the
Files
path is a special entry for windows layers, but I'm not sure why this is occurring. There is no documentation anywhere about this issue but according to the docs forcrane append
this should "just work" on windows.The layer I am appending is a built .NET Framework 4.8.1 MVC App onto the image
mcr.microsoft.com/dotnet/framework/aspnet:4.8.1-windowsservercore-ltsc2022
To Reproduce
Use
crane append
to append a windows directory onto an existing windows image using a windows x64 host machine.Expected behavior
I expected the files from the TAR'd layer to be appended successfully to the base image, and the resultant image be runnable.
Additional context
Running on a windows image builder for github actions.
crane version
0.19.1
ECR
The text was updated successfully, but these errors were encountered: