FROM docker.io/ubuntu:18.04 MAINTAINER Jacek Danecki COPY neo /root/neo RUN apt-get -y update ; apt-get install -y --allow-unauthenticated gpg; \ echo "deb http://ppa.launchpad.net/ocl-dev/intel-opencl/ubuntu bionic main" >> /etc/apt/sources.list; \ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C3086B78CC05B8B1; \ apt-get -y update ; apt-get install -y --allow-unauthenticated cmake git pkg-config ninja-build libigc-dev intel-gmmlib-dev clang-4.0 RUN mkdir /root/build; cd /root/build ; cmake -G Ninja -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_C_COMPILER=clang-4.0 -DCMAKE_CXX_COMPILER=clang++-4.0 \ ../neo ; ninja -j `nproc` CMD ["/bin/bash"]