There are many types of Dockerfile practices common dude RUN apt-get update && \ apt-get install -y nodejs npm && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* common dude v2 RUN \ apt-get update && \ apt-get install -y nodejs npm && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* indent fetishist RUN apt-get update \ && apt-get install -y nodejs npm \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* 2014 guy RUN apt-get update RUN apt-get upgrade -y RUN apt-get install -y nodejs npm oneliner RUN apt-get update && apt-get upgrade -y && apt-get install -y nodejs npm && apt-get clean variabler ARG PACKAGES="nodejs npm" RUN apt-get update && \ apt-get install -y ${PACKAGES} && \ apt-get clean && \ rm -rf /var/lib/apt/lists/*