Skip to content

Commit

Permalink
Create Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mkhaled87 authored Oct 27, 2020
1 parent 765a748 commit f7524ca
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# iamge
FROM ubuntu:18.04
LABEL MAINTAINER="Mahmoud Khaled, [email protected]"

# 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

0 comments on commit f7524ca

Please sign in to comment.