Skip to content

Download, install, and delete pwsh dist in the same layer to reduce final image size (RedHat family-only)#207

Merged
TravisEz13 merged 4 commits intoPowerShell:masterfrom
claudeleveille:download-pwsh-properly
Apr 11, 2019
Merged

Download, install, and delete pwsh dist in the same layer to reduce final image size (RedHat family-only)#207
TravisEz13 merged 4 commits intoPowerShell:masterfrom
claudeleveille:download-pwsh-properly

Conversation

@claudeleveille
Copy link
Copy Markdown
Contributor

@claudeleveille claudeleveille commented Apr 10, 2019

PR Summary

This patch uses the included curl on RedHat-based distro images to download PowerShell in the same layer it's installed in. This slices off one layer from the resulting images and saves ~50 MB (the size of the PowerShell dist package) on final image size.

PR Checklist

@msftclas
Copy link
Copy Markdown

msftclas commented Apr 10, 2019

CLA assistant check
All CLA requirements met.

@TravisEz13
Copy link
Copy Markdown
Member

@PoshChan Please remind me in 11 hours

@TravisEz13
Copy link
Copy Markdown
Member

Leaving PR open for review for the minimum 24 hours

@PoshChan
Copy link
Copy Markdown
Collaborator

@TravisEz13, will remind you in 11 hours

@TravisEz13
Copy link
Copy Markdown
Member

We are close enough

@TravisEz13 TravisEz13 merged commit e5854f3 into PowerShell:master Apr 11, 2019
@claudeleveille claudeleveille deleted the download-pwsh-properly branch April 11, 2019 01:17
@PoshChan
Copy link
Copy Markdown
Collaborator

@TravisEz13, this is the reminder you requested 11 hours ago

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants