Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crane: Cannot Append Windows Layer Without Duplicate "Files" #1909

Open
ltsar-federated opened this issue Mar 28, 2024 · 0 comments
Open

crane: Cannot Append Windows Layer Without Duplicate "Files" #1909

ltsar-federated opened this issue Mar 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ltsar-federated
Copy link

Describe the bug

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
@ltsar-federated ltsar-federated added the bug Something isn't working label Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant