File tree Expand file tree Collapse file tree 1 file changed +6
-20
lines changed Expand file tree Collapse file tree 1 file changed +6
-20
lines changed Original file line number Diff line number Diff line change @@ -74,30 +74,16 @@ RUN git clone https://github.com/Nelson-numerical-software/nelson.git /nelson
74
74
WORKDIR "/nelson"
75
75
RUN git checkout -b v0.6.4
76
76
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
-
88
77
ENV AUDIODEV null
89
-
78
+ ENV PATH= "/usr/lib/x86_64-linux-gnu/qt5/bin/:${PATH}"
90
79
91
80
RUN cmake -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles" .
92
81
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
99
83
84
+ RUN cmake --build . -- buildhelp
85
+ RUN cmake --build . -- tests_minimal
100
86
101
- EXPOSE 10000:20000
87
+ RUN xvfb-run -a /nelson/bin/linux/nelson -adv-cli -e "doc;exit"
102
88
103
- ENTRYPOINT ["/nelson/bin/linux64 /nelson-sio-cli" ]
89
+ ENTRYPOINT ["/nelson/bin/linux /nelson-sio-cli" ]
You can’t perform that action at this time.
0 commit comments