What’s the recommended way of maintaining your application when code is stored in other git repos?
I obviously have my Dockerfile in a git repo for my own storage as well as Balenas etc but in the Dockerfile I’m installing a couple applications from external repos hosted on Github. On initial deployment this therefore requires cloning but from then onwards whenever the dockerfile reruns I just want it to pull any updates.
In Dockerfile on initial deployment:
RUN git clone
But from then on if it’s rebooted/etc it should do a RUN git pull… How do I define this elegantly?