Error while rebuilding discourse docker image with New Relic plugin

You can define new relic gem version to use by overriding environment variable:
NEW_RELIC_AGENT_VERSION=6.6.0.358 this will override new relic version.