1. staged builds to make it smaller 2. See if you can seperate src and run files 3. use static openmpi build instead of apt openmpi so that the container can work across nodes.