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-02-01 13:47:16 +01:00
|
|
|
RUN apt-get --yes install gcc g++ cmake make lcov git valgrind nano iputils-ping
|
2022-04-27 13:43:49 +02:00
|
|
|
|
|
|
|
RUN git clone https://github.com/catchorg/Catch2.git && \
|
|
|
|
cd Catch2 && \
|
2022-04-27 13:54:15 +02:00
|
|
|
git checkout v3.0.0-preview5 && \
|
2022-04-27 13:43:49 +02:00
|
|
|
cmake -Bbuild -H. -DBUILD_TESTING=OFF && \
|
|
|
|
cmake --build build/ --target install
|