mirror of
https://github.com/VSCodeVim/Vim.git
synced 2024-09-11 20:27:17 +03:00
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.
15 lines
321 B
Docker
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"]
|