forked from oesmith/puffing-billy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
14 lines (13 loc) · 694 Bytes
/
Dockerfile
File metadata and controls
14 lines (13 loc) · 694 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM ruby:1.9.3
RUN apt-get update -y
RUN apt-get install -y qt5-default libqt5webkit5-dev gstreamer1.0-plugins-base gstreamer1.0-tools gstreamer1.0-x
RUN gem install bundler
RUN \
export PHANTOMJS_VERSION='2.1.1' && \
export PHANTOMJS_URL='https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-linux-x86_64.tar.bz2' && \
wget -q ${PHANTOMJS_URL} && \
tar xfv phantomjs-${PHANTOMJS_VERSION}-linux-x86_64.tar.bz2 \
-C /usr/bin --wildcards */bin/phantomjs --strip-components=2
RUN mkdir -p /app
COPY . /app
RUN cd /app && bundle install