1 FROM commondeps AS buildopenblas
3 RUN cd && git clone --depth 1 https://github.com/xianyi/OpenBLAS.git \
4 && cd OpenBLAS && make \
5 && make install PREFIX=$HOME/.local/ \
7 && cd .. && rm -rf OpenBLAS
9 FROM buildopenblas AS numlibs
11 RUN cd && wget https://ftp.gnu.org/gnu/gsl/gsl-latest.tar.gz \
12 && tar xf gsl-latest.tar.gz \
13 && cd $( tar tf gsl-latest.tar.gz | head -n 1 ) \
14 && ./configure --prefix=$HOME/.local \
15 && make && make install && make clean \
16 && cd .. && rm -rf $OLDPWD gsl-latest.tar.gz