Skip to content
Snippets Groups Projects
Commit b9991186 authored by Simon Oehrl's avatar Simon Oehrl
Browse files

Adapt dockerfile

parent e474f6d9
No related branches found
No related tags found
No related merge requests found
Pipeline #163341 passed
FROM ubuntu:latest
ARG DEBIAN_FRONTEND=noninteractive
FROM nestsim/nest:3.0
RUN apt-get update && apt-get install -y \
cmake g++ make ninja-build python3 python3-dev python3-pip python3-numpy python3-scipy python3-matplotlib \
git gsl-bin libgsl0-dev libltdl-dev libtool netcat \
cmake g++ make ninja-build netcat git \
libboost-atomic-dev libboost-thread-dev libboost-system-dev libboost-date-time-dev libboost-regex-dev \
libboost-filesystem-dev libboost-random-dev libboost-chrono-dev libboost-serialization-dev \
libwebsocketpp-dev openssl libssl-dev ninja-build
RUN pip3 install Cython
RUN git clone --single-branch --branch nest-3 https://github.com/nest/nest-simulator.git nest && \
cd nest && \
git checkout 5c0f41230dda9e4b99b8df89729ea43b340246ad && \
cd /
WORKDIR /nest-build
RUN cmake \
-G Ninja \
-DCMAKE_INSTALL_PREFIX=/nest-install \
-DCMAKE_BUILD_TYPE=Release \
/nest
RUN ninja && ninja install
libwebsocketpp-dev openssl libssl-dev
RUN git clone --single-branch --branch v2.10.14 --recurse-submodules https://github.com/microsoft/cpprestsdk.git /cpprestsdk
WORKDIR /cpprestsdk-build
RUN cmake \
......@@ -30,7 +16,7 @@ COPY . /insite
WORKDIR /insite-build
RUN cmake \
-G Ninja \
-Dwith-nest=/nest-install/bin/nest-config \
-Dwith-nest=/opt/nest/bin/nest-config \
-DCMAKE_BUILD_TYPE=Release \
/insite
RUN ninja && ninja install
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment