Install package dependencies both in one layer

This commit is contained in:
Martin Honermeyer 2015-01-13 00:23:52 +01:00
parent 54ae2261aa
commit f66fb24500

View file

@ -3,8 +3,7 @@ FROM ubuntu:14.04
RUN apt-get update
# Install npm
RUN apt-get install -y software-properties-common && apt-get clean
RUN apt-get install -y curl && apt-get clean
RUN apt-get install -y software-properties-common curl && apt-get clean
RUN curl -sL https://deb.nodesource.com/setup | bash -
RUN apt-get install -y nodejs && apt-get clean