Learned how to optimize my docker light image with flattening.