sassoftware / sas-container-recipes

A collection of recipes and other resources for building containers that include SAS Viya software.
https://www.sas.com
Apache License 2.0
89 stars 42 forks source link

Explicitly call close() on container.ContextWriter #38

Closed githje closed 2 years ago

githje commented 4 years ago

Currently the build_context.tar files generated by container.go are faulty. Untarring returns an error saying "tar: Unexpected EOF in archive". Adding a call to close() to explicitly close the tar file after all content has been added.