Fixes #3168 - Ubuntu tests

This commit is contained in:
Pavel Schoffer 2018-10-27 11:15:40 +02:00
parent f7556dc79d
commit 6297d29ea7

View File

@ -1,5 +1,7 @@
FROM node:8.11
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install -y xorg xvfb libxss-dev libgtk-3-0 gconf2 libnss3 libasound2
@ -9,4 +11,4 @@ ENV DISPLAY=:99.0
WORKDIR /app
ENTRYPOINT ["sh", "-c", "(Xvfb $DISPLAY -screen 0 1024x768x16 &) && npm run test"]
ENTRYPOINT ["sh", "-c", "(Xvfb $DISPLAY -screen 0 1024x768x16 &) && npm run test"]