Combined apt-get RUN commands

This commit is contained in:
Paul Bowsher 2015-01-15 16:22:47 +00:00
parent 1ab18c821d
commit 09e8349b6f
1 changed files with 6 additions and 6 deletions

View File

@ -1,12 +1,12 @@
FROM ubuntu:trusty
MAINTAINER Paul Bowsher <paul.bowsher@gmail.com>
RUN apt-get update
RUN apt-get install -y sqlite3 libsqlite3-dev git build-essential
RUN apt-get install -y ruby-dev libssl-dev
RUN apt-get install -y nodejs
RUN gem install bundler --no-ri --no-rdoc
RUN apt-get update && \
apt-get install -y sqlite3 libsqlite3-dev git build-essential && \
apt-get install -y ruby-dev libssl-dev && \
apt-get install -y nodejs && \
apt-get clean && \
gem install bundler --no-ri --no-rdoc
ADD . /app
WORKDIR /app