FROM ubuntu:latest
RUN mkdir /run/neckcuts
COPY src /run/neckcuts/src/
COPY deps /run/neckcuts/deps/
COPY include /run/neckcuts/include
COPY CMakeLists.txt /run/neckcuts/

RUN apt-get update

RUN apt-get install -y cmake make g++ git
RUN apt-get install -y libx11-dev

# GLFW Deps
RUN apt-get install -y libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev
RUN apt-get install -y libgl-dev

# Support x Forwarding
ENV DISPLAY=:0

