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

[Feature]: Remove latest.tar.gz and Latest Folder From Docker Container Layer #26123

Open
gone-for-coding opened this issue Sep 18, 2024 · 2 comments
Assignees
Labels
Azure PS Team customer-reported Docker feature-request This issue requires a new behavior in the product in order be resolved. Tracking We will track status and follow internally

Comments

@gone-for-coding
Copy link

Description of the new feature

The alpine image build process does not remove temporary files resulting in wasted space of about 200MiB.

/ # du -h latest*
105.4M  latest
102.5M  latest.tar.gz

Proposed implementation details (optional)

Remove the latest directory and latest.tar.gz file from the layer here:
https://github.com/Azure/azure-powershell/blob/main/docker/Dockerfile-alpine-3.17#L34-L39

@gone-for-coding gone-for-coding added feature-request This issue requires a new behavior in the product in order be resolved. needs-triage This is a new issue that needs to be triaged to the appropriate team. labels Sep 18, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added customer-reported needs-triage This is a new issue that needs to be triaged to the appropriate team. and removed needs-triage This is a new issue that needs to be triaged to the appropriate team. labels Sep 18, 2024
@gone-for-coding
Copy link
Author

FYI: Other images are affected as well.

@isra-fel
Copy link
Member

@Nickcandy let's remove the temp files

@isra-fel isra-fel added Azure PS Team Docker Tracking We will track status and follow internally and removed needs-triage This is a new issue that needs to be triaged to the appropriate team. labels Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Azure PS Team customer-reported Docker feature-request This issue requires a new behavior in the product in order be resolved. Tracking We will track status and follow internally
Projects
None yet
Development

No branches or pull requests

3 participants