Skip to content

Commit 044fc9c

Browse files
0.6.3
1 parent 6233135 commit 044fc9c

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

Dockerfile

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ RUN mkdir /tmp/eigen-build && cd /tmp/eigen && git checkout 3.4 && cd - && cd /t
7070

7171
RUN git clone https://github.com/Nelson-numerical-software/nelson.git /nelson
7272
WORKDIR "/nelson"
73-
RUN git checkout -b v0.6.2
73+
RUN git checkout -b v0.6.3
7474

7575
RUN mkdir /home/nelsonuser
7676

@@ -85,12 +85,15 @@ USER nelsonuser
8585

8686
ENV AUDIODEV null
8787

88-
RUN cmake -G "Unix Makefiles"
89-
RUN make -j4
9088

91-
RUN make get_module_skeleton
92-
RUN make buildhelp
93-
RUN make tests_minimal
89+
RUN cmake -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles" .
90+
RUN cmake --build . -- -j $(nproc)
91+
RUN cmake --build . -- -j $(nproc) get_module_skeleton
92+
93+
RUN cmake --build . -- -j $(nproc) buildhelp
94+
RUN cmake --build . -- -j $(nproc) tests_minimal
95+
96+
RUN xvfb-run -a /nelson/bin/linux64/nelson-adv-cli -e "doc;exit"
9497

9598

9699
EXPOSE 10000:20000

0 commit comments

Comments
 (0)