Page MenuHomec4science

Dockerfile
No OneTemporary

File Metadata

Created
Sat, Nov 23, 23:11

Dockerfile

FROM debian:stable-slim
MAINTAINER Lucas Frérot <lucas.frerot@epfl.ch>
# Install any needed packages from ubuntu repos
RUN apt-get -qq update && apt-get install -y \
curl \
gcc \
git \
libboost-dev \
libpython3-dev \
libthrust-dev \
python3 \
python3-dev \
python3-numpy \
python3-pip \
python3-scipy \
scons \
&& rm -rf /var/lib/apt/lists/*
RUN pip3 install pytest
# Compiling fftw
RUN cd /opt && \
curl -s http://www.fftw.org/fftw-3.3.7.tar.gz | tar -xz && \
cd fftw-3.3.7 && \
./configure --prefix=$PWD --enable-shared --enable-openmp && \
make && make install && \
cd ../..
ENV FFTW_ROOT /opt/fftw-3.3.7
# No need for python2
RUN ln -s $(which python3) /usr/local/bin/python

Event Timeline