Open gone-for-coding opened 1 week ago
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
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
FYI: Other images are affected as well.
@Nickcandy let's remove the temp files
Description of the new feature
The alpine image build process does not remove temporary files resulting in wasted space of about 200MiB.
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