Vim/build/Dockerfile
Jason Fields b795827305 Use node v16, not v18, in DockerFile
I like the new shiny stuff as much as the next guy, Renovate, but let's not get ahead of VSCode
2022-04-24 11:48:35 -04:00

15 lines
321 B
Docker

FROM node:16
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"]