# Fetch build tools and source for clinfo, then build it # # This should really be part of a multi-stage build so the final # image isn't polluted with build artifacts # RUN apt-get update \ && apt-get remove -y clinfo \ && DEBIAN_FRONTEND=noninteractive apt-get --no-install-recommends -q -y install \ git build-essential opencl-c-headers \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* WORKDIR /home/agama RUN git clone https://gitlab.devtools.intel.com/jketreno/clinfo.git \ && cd clinfo \ && make RUN DEBIAN_FRONTEND=noninteractive apt-get remove -q -y git build-essential opencl-c-headers CMD [ "/home/agama/clinfo/clinfo" ]