luna-base.dockerfile 514 B

123456789101112131415
  1. FROM techempower/gcc-4.9:0.1
  2. RUN apt install -yqq python-dev python-pip cmake autoconf
  3. # We're using conan 0.28.1 because, as of this writing, later versions of conan
  4. # are incompatible with the luna framework, and luna is the only framework that
  5. # uses conan.
  6. RUN pip install conan==0.28.1
  7. ADD ./ /luna
  8. WORKDIR /luna
  9. RUN CC=gcc-4.9 CXX=g++-4.9 conan install --build=missing -s compiler="gcc" -s compiler.version="4.9" .
  10. RUN cmake . -DCMAKE_CXX_COMPILER=g++-4.9 -DCMAKE_CC_COMPILER=gcc-4.9
  11. RUN cmake --build .