Upgrade to a trusty based version of phusion baseimage.
This commit is contained in:
parent
c92ce54a37
commit
b3aba08426
1 changed files with 5 additions and 11 deletions
16
Dockerfile
16
Dockerfile
|
@ -1,26 +1,20 @@
|
|||
FROM phusion/baseimage:0.9.9
|
||||
FROM phusion/baseimage:0.9.10
|
||||
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
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.
|
||||
RUN apt-get update
|
||||
|
||||
# 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
|
||||
RUN apt-get install -y libfreetype6 libfreetype6-dev fontconfig
|
||||
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
|
||||
RUN apt-get install -y phantomjs
|
||||
|
||||
# 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
|
||||
|
||||
ADD binary_dependencies binary_dependencies
|
||||
|
|
Reference in a new issue