Skip to content

Commit

Permalink
Updated the Intel Driver install.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamradocz committed Jul 27, 2018
1 parent 815ca35 commit c9af6b3
Showing 1 changed file with 9 additions and 17 deletions.
26 changes: 9 additions & 17 deletions Dockerfile.multi-gpu
Original file line number Diff line number Diff line change
@@ -1,27 +1,19 @@
#############################################################
# Builder image. It builds the Intel NEO OpenCL GPU driver. #
#############################################################
FROM adamradocz/intel-neo-opencl-gpu-driver-builder as builder

WORKDIR /build

##################
# The main image #
##################
FROM boinc/client:nvidia

LABEL maintainer="BOINC" \
description="A base container image for lightweight Multi GPU-savvy (Intel 5th gen+ & Nvidia) BOINC clients"

# Install
RUN apt-get update && apt-get install -y --no-install-recommends \
# Generic OpenCL ICD Loader
# Install PPA dependency
software-properties-common \
# Generic OpenCL ICD Loader
ocl-icd-libopencl1 && \
# Install Intel NEO OpenCL
add-apt-repository -y ppa:jdanecki/intel-opencl && \
apt-get update && apt-get install -y --no-install-recommends \
intel-opencl && \
# Cleaning up
apt-get remove -y software-properties-common && \
apt-get autoremove -y && \
rm -rf /var/lib/apt/lists/*

# Copy Intel NEO OpenCL .deb from builder
COPY --from=builder /build/intel-opencl*.deb /usr/bin

# Install the Intel NEO OpenCL Driver. It supports Broadwell (5th generation) CPUs and beyond.
RUN dpkg -i /usr/bin/intel-opencl*.deb

0 comments on commit c9af6b3

Please sign in to comment.