Files
compute-runtime/scripts/docker/Dockerfile-ubuntu-16.04-gcc-gen-8
Pratik Raj 62fbdc64ec Some debian package manager tweaks
By default, Ubuntu or Debian based "apt" or "apt-get" system installs
recommended but not suggested packages.

By passing "--no-install-recommends" option, the user lets apt-get know
not to consider recommended packages as a dependency to install.

This results in smaller downloads and installation of packages.

Original pull request #268 was modified to fix dependencies on
Ubuntu 18.04 and newer.

Signed-off-by: Pratik Raj <rajpratik71@gmail.com>
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>

https://github.com/intel/compute-runtime/pull/268

Change-Id: I5a5de36102c5d3d3a42def30404078c485705b8a
2020-03-17 19:16:50 +01:00

14 lines
696 B
Plaintext

FROM docker.io/ubuntu:16.04
LABEL maintainer="jacek.danecki@intel.com"
COPY neo /root/neo
RUN echo "deb http://ppa.launchpad.net/ocl-dev/intel-opencl/ubuntu xenial main" >> /etc/apt/sources.list; \
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C3086B78CC05B8B1; \
apt-get -y update ; apt-get --no-install-recommends install -y --allow-unauthenticated cmake g++ pkg-config ninja-build libigc-dev intel-gmmlib-dev
RUN mkdir /root/build; cd /root/build ; cmake -G Ninja -DCMAKE_BUILD_TYPE=Release \
-DSUPPORT_GEN8=1 -DSUPPORT_GEN9=0 -DSUPPORT_GEN11=0 -DSUPPORT_GEN12LP=0 \
-DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ ../neo; \
ninja -j `nproc`
CMD ["/bin/bash"]