Francis>We do need the dockerfiles with the correct version numbers Francis>committed to git, because once we tag a release, docker hub will build Francis>the docker images from those dockerfiles and publish them to docker hub
I see, then replacement the source file + commit might be a way to go here indeed. By the way, have you considered DockerHub's hooks/variables to perform the replacement on build? For instance: https://github.com/docker/hub-feedback/issues/508#issuecomment-243968310 What do you think? Vladimir