https://github.com/lballabio/dockerfiles/blob/master/quantlib/Dockerfile
2.2K
////////////// D O C K E R B U I L D C O M M A N D /////////////////////
docker build -t activeeon/quantlib:1.19 --build-arg quantlib_version=1.19 .
////////////// D O C K E R F I L E /////////////////////
ARG tag=1.72.0-bionic
FROM lballabio/boost:${tag}
MAINTAINER Luigi Ballabio [email protected]
LABEL Description="A building environment where the QuantLib C++ library is available"
ARG quantlib_version
ENV quantlib_version ${quantlib_version}
RUN wget https://dl.bintray.com/quantlib/releases/QuantLib-${quantlib_version}.tar.gz
&& tar xfz QuantLib-${quantlib_version}.tar.gz
&& rm QuantLib-${quantlib_version}.tar.gz
&& cd QuantLib-${quantlib_version}
&& ./configure --prefix=/usr --disable-static CXXFLAGS=-O3
&& make -j 4 && make check && make install
&& cd .. && rm -rf QuantLib-${quantlib_version} && ldconfig
CMD bash
Content type
Image
Digest
Size
128.9 MB
Last updated
over 6 years ago
docker pull activeeon/quantlib:1.19