-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
28 lines (23 loc) · 816 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
FROM ubuntu
RUN apt-get update
RUN apt-get install -y \
curl \
wget
RUN apt-get install -y build-essential chrpath libssl-dev libxft-dev
RUN apt-get install -y libfreetype6 libfreetype6-dev
RUN apt-get install -y libfontconfig1 libfontconfig1-dev
RUN apt-get install -y npm
WORKDIR ~/
RUN export PHANTOM_JS="phantomjs-1.9.8-linux-x86_64" && \
wget https://bitbucket.org/ariya/phantomjs/downloads/$PHANTOM_JS.tar.bz2 && \
mv $PHANTOM_JS.tar.bz2 /usr/local/bin && \
cd /usr/local/bin && \
tar xvjf $PHANTOM_JS.tar.bz2 && \
ln -sf /usr/local/bin/$PHANTOM_JS/bin/phantomjs /usr/local/bin/phantomjs
RUN curl install.meteor.com | /bin/sh
RUN meteor create hello && \
cd hello && \
meteor add d3 && \
meteor remove autopublish
meteor add meteorhacks:npm
CMD ["meteor"]