2021-10-25 14:59:16 +02:00
|
|
|
FROM ubuntu:focal
|
|
|
|
|
|
|
|
RUN apt-get update
|
|
|
|
RUN apt-get --yes upgrade
|
|
|
|
|
|
|
|
#tzdata is a dependency, won't install otherwise
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
2022-09-23 13:46:03 +02:00
|
|
|
RUN apt-get --yes install gcc g++ cmake make lcov git valgrind nano iputils-ping python3 pip doxygen graphviz rsync
|
2022-09-13 13:13:18 +02:00
|
|
|
|
|
|
|
RUN python3 -m pip install sphinx breathe
|
2022-04-27 13:43:49 +02:00
|
|
|
|
|
|
|
RUN git clone https://github.com/catchorg/Catch2.git && \
|
2022-09-13 13:13:18 +02:00
|
|
|
cd Catch2 && \
|
|
|
|
git checkout v3.1.0 && \
|
|
|
|
cmake -Bbuild -H. -DBUILD_TESTING=OFF && \
|
|
|
|
cmake --build build/ --target install
|
2022-07-04 10:13:48 +02:00
|
|
|
|
|
|
|
RUN git clone https://github.com/ETLCPP/etl.git && \
|
2022-09-13 13:13:18 +02:00
|
|
|
cd etl && \
|
|
|
|
git checkout 20.28.0 && \
|
|
|
|
cmake -B build . && \
|
2022-09-13 14:08:04 +02:00
|
|
|
cmake --install build/
|
|
|
|
|
|
|
|
#ssh needs a valid user to work
|
2022-09-13 14:20:30 +02:00
|
|
|
RUN adduser --uid 114 jenkins
|
2022-09-23 13:46:03 +02:00
|
|
|
|
|
|
|
#add documentation server to known hosts
|
|
|
|
RUN echo "|1|/LzCV4BuTmTb2wKnD146l9fTKgQ=|NJJtVjvWbtRt8OYqFgcYRnMQyVw= ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNL8ssTonYtgiR/6RRlSIK9WU1ywOcJmxFTLcEblAwH7oifZzmYq3XRfwXrgfMpylEfMFYfCU8JRqtmi19xc21A=" >> /etc/ssh/ssh_known_hosts
|
|
|
|
RUN echo "|1|CcBvBc3EG03G+XM5rqRHs6gK/Gg=|oGeJQ+1I8NGI2THIkJsW92DpTzs= ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNL8ssTonYtgiR/6RRlSIK9WU1ywOcJmxFTLcEblAwH7oifZzmYq3XRfwXrgfMpylEfMFYfCU8JRqtmi19xc21A=" >> /etc/ssh/ssh_known_hosts
|