Rebuilding function docker image #290
Replies: 3 comments 2 replies
-
|
Hi @DrJohnDale, thanks for starting the discussion. This is not exactly expected behavior, but we haven't gotten around to fixing it just yet. I believe it's related to #257. For now, there are two workarounds:
|
Beta Was this translation helpful? Give feedback.
-
|
Hi Thanks for the help. The DockerImage approach seems to work, but I get several warnings. warnings |
Beta Was this translation helpful? Give feedback.
-
|
That last warning would worry me. I think that the current best practice is to give each new knot a different 'name' key-word argument, to make sure that you don't get over-ridden by previously-created knots. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
If I make a change to the function I have already dockerised with cloudknot and run the building again, it does not seem to change the erc stored docker image.
For example if my script is:
I can run this and all goes as expected.
If I then change the print to say
and re-run the function in the docker image in ECR does not change, or at least the docker image which runs does not include the change
what I have to do is run
and then re-running the script updates the docker image and all runs as expected.
Is this expected behavior?
Is there a error in my script?
The clobbering and rebuilding takes time (I think this comes from the removal and building of the pars) If the function change was detected and the docker file updated it would reduce the development loop time.
Beta Was this translation helpful? Give feedback.
All reactions