Modify the Dockerfiles to use an optional build argument, which can be passed in via docker-compose. The build argument would have a default value of release, but it could be set to master in cases where we want the images to be the latest in the repository (and not those from the latest release).