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

Use pre-built Docker images to cut down installation times #863

Open
nikhilwoodruff opened this issue Mar 27, 2023 · 2 comments
Open

Use pre-built Docker images to cut down installation times #863

nikhilwoodruff opened this issue Mar 27, 2023 · 2 comments

Comments

@nikhilwoodruff
Copy link
Contributor

nikhilwoodruff commented Mar 27, 2023

I just did this with our PolicyEngine API package: basically, install once, then save the machine state and reinstall that in future actions. Here's our code. It cut about 10 minutes off deployment times.

(cc @rickecon @jdebacker )

@jdebacker
Copy link
Member

@nikhilwoodruff - thanks for this suggestion.

One potential issue I see is that the Docker image can become stale and you might not find out that there are conflicts with your package and recent version of dependencies (GH Actions tests are often how I find out about such conflicts).

Am I understanding this correctly?

@nikhilwoodruff
Copy link
Contributor Author

Yes- think it would need updating every so often but could still be a cut-down on time I think

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants