Upgrade to a trusty based version of phusion baseimage.

This commit is contained in:
Jake Moshenko 2014-05-13 18:31:52 -04:00
parent c92ce54a37
commit b3aba08426

View file

@ -1,26 +1,20 @@
FROM phusion/baseimage:0.9.9 FROM phusion/baseimage:0.9.10
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND noninteractive
ENV HOME /root ENV HOME /root
# Needed for this fix: http://stackoverflow.com/a/21715730
RUN apt-get update
RUN apt-get install -y software-properties-common python-software-properties
RUN add-apt-repository ppa:chris-lea/node.js
# Install the dependencies. # Install the dependencies.
RUN apt-get update RUN apt-get update
# New ubuntu packages should be added as their own apt-get install lines below the existing install commands # New ubuntu packages should be added as their own apt-get install lines below the existing install commands
RUN apt-get install -y git python-virtualenv python-dev libjpeg8 libjpeg62-dev libevent-dev gdebi-core g++ libmagic1 libssl1.0.0 RUN apt-get install -y git python-virtualenv python-dev libjpeg8 libjpeg62-dev libevent-dev gdebi-core g++ libmagic1
# PhantomJS # PhantomJS
RUN apt-get install -y libfreetype6 libfreetype6-dev fontconfig RUN apt-get install -y phantomjs
ADD https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-linux-x86_64.tar.bz2 phantomjs.tar.bz2
RUN tar xjf phantomjs.tar.bz2 && ln -s `pwd`/phantomjs*/bin/phantomjs /usr/bin/phantomjs
# Grunt # Grunt
RUN apt-get install -y nodejs RUN apt-get install -y nodejs npm
RUN ln -s /usr/bin/nodejs /usr/bin/node
RUN npm install -g grunt-cli RUN npm install -g grunt-cli
ADD binary_dependencies binary_dependencies ADD binary_dependencies binary_dependencies