fold install commands if they exceed docker layer limit

This looks left over from an intermediate refactor.