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

improve Dockerfile build time and add CI to catch future slow downs #16348

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

zzstoatzz
Copy link
Collaborator

@zzstoatzz zzstoatzz commented Dec 11, 2024

there's still work to be done here, since i'm not sure what caused the dramatically inflated runtime of the Docker images job, but now at least we can relatively quantify all changes to the Dockerfile

inspired by #16327 (see https://github.com/PrefectHQ/prefect/actions/runs/12284945352?pr=16348)

image

Copy link

codspeed-hq bot commented Dec 11, 2024

CodSpeed Performance Report

Merging #16348 will not alter performance

Comparing add-docker-image-bench (5139936) with main (a8e0980)

Summary

✅ 3 untouched benchmarks

@zzstoatzz zzstoatzz added the development Tech debt, refactors, CI, tests, and other related work. label Dec 11, 2024
Comment on lines +50 to +53
- name: Clean Docker system again
run: |
docker system prune -af
docker builder prune -af
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

avoid sharing any cache that would bias results

Comment on lines -98 to -99
curl \
ca-certificates \
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i dont think we need these, and they were added in #16235, not before

@zzstoatzz zzstoatzz marked this pull request as ready for review December 11, 2024 20:32
@zzstoatzz zzstoatzz self-assigned this Dec 11, 2024
@zzstoatzz zzstoatzz force-pushed the add-docker-image-bench branch from 4a05742 to 5139936 Compare December 12, 2024 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
development Tech debt, refactors, CI, tests, and other related work.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant