-
Notifications
You must be signed in to change notification settings - Fork 223
Some updates to attempt to optimize our Dockerfile #4417
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
Conversation
Successfully built locally, now to see if CI passes
|
A new generated diff is ready to view.
A new doc preview is ready to view. |
|
A new generated diff is ready to view.
A new doc preview is ready to view. |
|
A new generated diff is ready to view.
A new doc preview is ready to view. |
|
A new generated diff is ready to view.
A new doc preview is ready to view. |
|
A new generated diff is ready to view.
A new doc preview is ready to view. |
|
A new generated diff is ready to view.
A new doc preview is ready to view. |
|
A new generated diff is ready to view.
A new doc preview is ready to view. |
|
A new generated diff is ready to view.
A new doc preview is ready to view. |
|
A new generated diff is ready to view.
A new doc preview is ready to view. |
|
A new generated diff is ready to view.
A new doc preview is ready to view. |
Successfully built locally, now to see if CI passes
Motivation and Context
CI for PRs from forks has been failing on Acquire Build Image with error:
The image build would succeed, but the task would fail when saving the built image locally.
Description
Attempted to slim down the Dockerfile, but only managed to knock off ~30MB (out of 1.8GB), so not much luck there. Was able to create more room by adding a new action that does:
and deletes some of the included tools we don't use. In my testing this freed up ~5GB which should be enough to allow builds to succeed.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.