-
Notifications
You must be signed in to change notification settings - Fork 39
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
Container archive produces tar - not gzip tar?! #518
Comments
Currently this behavior is intended and aligned with what If the other extensions make it to the SDK I would guess also DockerTarGz could easily be an additional format that can be supported. Of course there might be always the possibility to gzip the tar manually if this is required for your workflow. It might be a wrong expectation that the archive format and compression is auto-detected by the file extension, this is not the case. |
I'm totally fine if the behavior is right now that it produces a tar file instead of a gzip. But then the docs must not refer everywhere to it with |
That's indeed wrong. The feature I made added "tar" writing aligned with @baronfel Please let me know if I should prepare a code change around this feature (e.g. to auto-detect |
Excellent catch folks - I think it's best to try and fix doc mentions of tar.gz in the docs first, then add explicit support for toggling compression as a separate feature. Do you have some links to where you've seen the incorrect docs? |
I only saw it in the announcement and the related issue: This page does not yet mention the new options:
The documentation work item you added was: #497 |
Yeah I came across it in the announcment blog - which links to the issue #283 as well as the PR, both say "tar.gz" dotnet/sdk#35151 |
just a ping on this @baronfel The links don't seem to have been updated. |
I'm trying the new option to produce the docker image as a compressed archive (#283). In general this seems to work, however, the file seems to be a tar file, not a tar.gz
When trying to use gunzip (on Linux or MacOS) it fails with:
When trying to open the file on MacOS with 7z (
7z x sdk-container-demo.tar.gz
), it succeeds, but just because 7z just falls back to untar-only.Produced the file with:
dotnet --version
8.0.100-rc.2.23502.2
cc @Danielku15
The text was updated successfully, but these errors were encountered: