Skip to content
This repository has been archived by the owner on Aug 13, 2019. It is now read-only.

Commit

Permalink
debian stretch-slim, node 8.x, npm 5.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinWeindel authored Jan 11, 2018
1 parent 2e4a026 commit cb823db
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
FROM debian:jessie
FROM debian:stretch-slim

RUN apt-get update && apt-get install -y xvfb chromium

ADD xvfb-chromium /usr/bin/xvfb-chromium
RUN ln -s /usr/bin/xvfb-chromium /usr/bin/google-chrome
RUN ln -s /usr/bin/xvfb-chromium /usr/bin/chromium-browser

RUN apt-get update && apt-get install -y curl
RUN apt-get update && apt-get install -y curl gnupg2

RUN curl -sL https://deb.nodesource.com/setup_7.x | bash -
RUN apt-get install -y nodejs git && npm install -g npm@4.5.0
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash -
RUN apt-get install -y nodejs git && npm install -g npm@5.6.0

WORKDIR /usr/src/app

CMD npm test

0 comments on commit cb823db

Please sign in to comment.