Update build to inject version file as part of Docker build and add variable to Github workflow Issue #539
mentioned in commit e96006d2