I've got a github repo which has a library which builds a go binary which is the entrypoint of a container.
My question is whether it is possible to add a depenedency in the dockerfile to that repo (this is to invalidate the cached go binary).
The simplest solution is to have the repo in the source tree and then copy it before building the binary, however that file doesn't have to exist in the up to date image, and would be cleaner if it didn't...
Any help would be appreciated!!