Commit 508fa0a0 authored by CHAMONT David's avatar CHAMONT David
Browse files

first docker files

parent 0a783ad7
FROM gitlab-registry.in2p3.fr/maitresnageurs/piscineji:calculbsimd
# Ensure use of bash
SHELL ["/bin/bash","-c"]
# Eigen
RUN export EIGEN_VERSION="3.2.10" && \
wget http://bitbucket.org/eigen/eigen/get/${EIGEN_VERSION}.tar.gz && \
tar xf ${EIGEN_VERSION}.tar.gz && \
mkdir -p /opt/ && \
mv eigen-eigen-*/ /opt/eigen/ && \
rm ${EIGEN_VERSION}.tar.gz
# Google Test
RUN git clone https://github.com/google/googletest.git -b release-1.8.0 /opt/googletest
ENV GTEST_ROOT /opt/googletest/googletest
# Use of BOOST and BOOST.SIMD
ENV CPATH ${BOOST_SIMD_ROOT}/include:${BOOST_ROOT}/include
#!/bin/bash
docker build -t gitlab-registry.in2p3.fr/chamont/fast-matrix .
docker push gitlab-registry.in2p3.fr/chamont/fast-matrix
\ No newline at end of file
#!/bin/bash
docker run -it --rm -v $PWD:/work -w /work gitlab-registry.in2p3.fr/chamont/fast-matrix
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment