-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
30 lines (24 loc) · 1.36 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# FROM docker.io/ubuntu AS buildstage
# LABEL Author Adaickalavan<[email protected]>
# Install build tools
# RUN apt-get update -y && apt-get install -y software-properties-common
# RUN add-apt-repository ppa:intel-opencl/intel-opencl && apt-get update -y
# RUN apt-get -y install \
# cmake pkg-config doxygen \
# gpg intel-opencl clinfo
# RUN apt-get update -y && apt-get install -y wget
# RUN mkdir /neo
# RUN cd /neo && wget https://github.com/intel/compute-runtime/releases/download/19.40.14409/intel-gmmlib_19.3.2_amd64.deb \
# && wget https://github.com/intel/compute-runtime/releases/download/19.40.14409/intel-igc-core_1.0.2597_amd64.deb \
# && wget https://github.com/intel/compute-runtime/releases/download/19.40.14409/intel-igc-opencl_1.0.2597_amd64.deb \
# && wget https://github.com/intel/compute-runtime/releases/download/19.40.14409/intel-opencl_19.40.14409_amd64.deb \
# && wget https://github.com/intel/compute-runtime/releases/download/19.40.14409/intel-ocloc_19.40.14409_amd64.deb
# RUN cd /neo && dpkg -i *.deb
# Change working directory
# WORKDIR /src
# Copy the current folder which contains C++ source code to the Docker image
# COPY . .
# Use cmake to compile the cpp source file. [email protected] .
# RUN cmake -E make_directory build && \
# cmake -E chdir ./build cmake -DCMAKE_BUILD_TYPE=Release .. && \
# cmake --build ./build