prototype on how a docker image can be flattened