move dockerfile 'RUN' commands to scripts