Vim/build/Dockerfile
Jason Fields f1186203af Upgrade to node v14
Recent VS Code versions ship with electron 13, which is built from node 14.
This just affects the docker environment we run tests in and the node type definitions.
2021-10-20 16:47:42 -04:00

15 lines
321 B
Docker

FROM node:14
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install -y xorg xvfb libxss-dev libgtk-3-0 gconf2 libnss3 libasound2 libsecret-1-0
ENV CXX="g++-4.9"
ENV CC="gcc-4.9"
ENV DISPLAY=:99.0
WORKDIR /app
ENTRYPOINT ["sh", "-c", "(Xvfb $DISPLAY -screen 0 1024x768x16 &) && npm run test"]