luma.gl/Dockerfile
2017-11-30 16:28:21 -08:00

20 lines
350 B
Docker

# Docker Image for BuildKite CI
# -----------------------------
FROM node:8.9.0
WORKDIR /luma-gl
ENV PATH /luma-gl/node_modules/.bin:$PATH
ENV DISPLAY :99
RUN apt-get update
RUN apt-get -y install libxi-dev libgl1-mesa-dev xvfb
ADD .buildkite/xvfb /etc/init.d/xvfb
RUN chmod a+x /etc/init.d/xvfb
COPY package.json yarn.lock /luma-gl/
RUN yarn