-
Notifications
You must be signed in to change notification settings - Fork 10
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
docker: all dependencies are reinstalled on each run #37
Comments
hey @VallariAg I would like to work on this. |
@dikwickley sure, go ahead! |
I tried to reproduce this but can't seem to do it.
As you can see, the dependencies were installed during the docker Were you referring to caching the dependencies during the build step? or am i missing something while trying to reproduce this. |
Yes, I am referring to caching them during the build step. Any changes in the root directory of teuthology-api will lead to reinstalling of all dependencies in the next build. |
Alright got it. |
I searched about caching pip dependencies so it only re-installs if there is a change in requirements.txt, this might be useful in our use case - https://stackoverflow.com/a/57282479 |
current behaviour: all dependencies of teuthology-api (configured in setup.cfg) are reinstalled everytime docker container is started
expected behaviour: install dependencies before copying files (so changes in file won't require re-intalling dependencies) or cache
The text was updated successfully, but these errors were encountered: