Skip to content

Commit b7f6371

Browse files
call new nelson script
1 parent 247a087 commit b7f6371

File tree

1 file changed

+6
-20
lines changed

1 file changed

+6
-20
lines changed

Dockerfile

Lines changed: 6 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -74,30 +74,16 @@ RUN git clone https://github.com/Nelson-numerical-software/nelson.git /nelson
7474
WORKDIR "/nelson"
7575
RUN git checkout -b v0.6.4
7676

77-
RUN mkdir /home/nelsonuser
78-
79-
RUN groupadd -g 999 nelsonuser && \
80-
useradd -r -u 999 -g nelsonuser nelsonuser
81-
82-
RUN chown -R nelsonuser:nelsonuser /home/nelsonuser
83-
84-
RUN chown -R nelsonuser:nelsonuser /nelson
85-
86-
USER nelsonuser
87-
8877
ENV AUDIODEV null
89-
78+
ENV PATH="/usr/lib/x86_64-linux-gnu/qt5/bin/:${PATH}"
9079

9180
RUN cmake -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles" .
9281
RUN cmake --build . -- -j $(nproc)
93-
RUN cmake --build . -- -j $(nproc) get_module_skeleton
94-
95-
RUN cmake --build . -- -j $(nproc) buildhelp
96-
RUN cmake --build . -- -j $(nproc) tests_minimal
97-
98-
RUN xvfb-run -a /nelson/bin/linux64/nelson-adv-cli -e "doc;exit"
82+
RUN cmake --build . -- get_module_skeleton
9983

84+
RUN cmake --build . -- buildhelp
85+
RUN cmake --build . -- tests_minimal
10086

101-
EXPOSE 10000:20000
87+
RUN xvfb-run -a /nelson/bin/linux/nelson -adv-cli -e "doc;exit"
10288

103-
ENTRYPOINT ["/nelson/bin/linux64/nelson-sio-cli"]
89+
ENTRYPOINT ["/nelson/bin/linux/nelson-sio-cli"]

0 commit comments

Comments
 (0)