diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..f444351 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,23 @@ +# iamge +FROM ubuntu:18.04 +LABEL MAINTAINER="Mahmoud Khaled, eng.mk@msn.com" + +# set time/language +ENV TZ=Europe/Kiev +ENV LANG C.UTF-8 +RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone + +# update image +RUN apt-get -qq update \ + && apt-get -qq install -y --no-install-recommends apt-utils \ + && apt-get -qq -y upgrade + +# install required libs/tools +RUN apt-get -qq install -y wget git unzip build-essential libcpprest-dev opencl-c-headers opencl-clhpp-headers ocl-icd-opencl-dev clinfo oclgrind cmake + +# install pFaces (1.1.1 demo) +RUN mkdir pfaces \ + && cd pfaces \ + && wget https://github.com/parallall/pFaces/releases/download/Release_1.1.1d/pFaces-1.1.1-Ubuntu18.04.zip \ + && unzip pFaces-1.1.1-Ubuntu18.04.zip +RUN cd /pfaces && sh install.sh