FROM quay.io/pypa/manylinux2010_x86_64 MAINTAINER Lucas Frérot ENV PATH=/opt/python/cp37-cp37m/bin:$PATH RUN yum install -y \ boost \ boost-devel RUN pip install scons RUN mkdir /app # Setting up thrust RUN cd /app && curl -L https://github.com/thrust/thrust/archive/1.9.2.tar.gz | tar -xz # Setting up fftw RUN cd /app && curl -L http://fftw.org/fftw-3.3.8.tar.gz | tar -xz && \ cd fftw-3.3.8 && CFLAGS='-fPIC' ./configure --prefix=$PWD && make && make install ENV THRUST_ROOT=/app/thrust-1.9.2 ENV FFTW_ROOT=/app/fftw-3.3.8 RUN cd /app/thrust-1.9.2 && mkdir include && ln -s ../thrust include/thrust