Script to build program, strip and build docker image.
Refactored to avoid repetition.