mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2024-12-22 23:53:15 +01:00
Add phantomjs to docker container
This commit is contained in:
parent
0d09ebaad3
commit
41e1e56b7c
1 changed files with 5 additions and 0 deletions
|
@ -4,6 +4,11 @@ RUN apt-get update && apt-get install -y build-essential zlib1g-dev libsqlite3-d
|
|||
RUN mkdir -p /app
|
||||
|
||||
WORKDIR /tmp
|
||||
|
||||
RUN wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2
|
||||
RUN tar xvvjf phantomjs-2.1.1-linux-x86_64.tar.bz2
|
||||
RUN ln -sf /tmp/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/local/bin/
|
||||
|
||||
COPY Gemfile Gemfile
|
||||
COPY Gemfile.lock Gemfile.lock
|
||||
RUN bundle install
|
||||
|
|
Loading…
Reference in a new issue