Divide dockerfile to base and difference