Skip to content

Commit

Permalink
fix(tests: unit): added phantomjs dependency; updated dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
actionless committed Dec 8, 2014
1 parent 05d38ec commit ebedf83
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
FROM dockerfile/nodejs

# install system-wide dependencies
RUN npm -g install grunt-cli protractor bower && webdriver-manager update
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y libfreetype6 libfontconfig && \
npm -g install grunt-cli bower

# setup the environment
WORKDIR /opt/superdesk-client/
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
"grunt-contrib-concat": "^0.5.0",
"grunt-contrib-uglify": "^0.6.0",
"request": "^2.47.0",
"jasmine-reporters": "^1.0.1"
"jasmine-reporters": "^1.0.1",
"karma-phantomjs-launcher": "^0.1.4"
},
"scripts": {
"test": "grunt ci:travis"
Expand Down

0 comments on commit ebedf83

Please sign in to comment.