using --build-arg which was provided by docker to replace the sed tool Change-Id: I93c8c98001d82d802b91ba2a4d042149cff36da4