Update Dockerfile to minimuze number of RUN commands.