leanshot/Dockerfile
Michael Zhang e7e8cae4f1
oops
2018-09-09 21:31:46 -05:00

17 lines
397 B
Docker

FROM ekidd/rust-musl-builder
RUN sudo apt-get update -y && sudo apt-get install -y \
cmake \
libgles2-mesa-dev \
libglew-dev \
libglfw3-dev \
libglm-dev \
libgtk-3-dev
RUN git clone https://github.com/naelstrof/slop.git
RUN (cd slop; cmake -DCMAKE_INSTALL_PREFIX="/usr" ./ && make && sudo make install)
COPY . ./
RUN sudo chown -R rust:rust .
CMD cargo build --release