File: Dockerfile

package info (click to toggle)
amgcl 1.4.4-1
  • links: PTS, VCS
  • area: contrib
  • in suites: sid
  • size: 5,676 kB
  • sloc: cpp: 34,043; python: 747; pascal: 258; f90: 196; makefile: 20
file content (9 lines) | stat: -rw-r--r-- 408 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
FROM ubuntu
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y git cmake g++ \
    libboost-test-dev libboost-program-options-dev libboost-serialization-dev
RUN git clone https://github.com/ddemidov/amgcl
RUN cmake -Bamgcl-build -DAMGCL_BUILD_EXAMPLES=ON -DCMAKE_BUILD_TYPE=Release amgcl && \
    cmake --build amgcl-build -j 4
ENV PATH="${PATH}:/amgcl-build/examples"
WORKDIR /data