From a144c6513977691bcb98bd7a73e7a46215ad5373 Mon Sep 17 00:00:00 2001 From: Maciej Kisielewski Date: Tue, 21 Jan 2025 13:08:16 +0100 Subject: [PATCH] add Dockerfile for testing on almalinux 9 with py3 The dockerfile includes all the necessary steps to test pstack on almalinux 9. The command which is ran in docker, that builds pstack has Python3 support enabled. --- docker/alma9-with-py3/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 docker/alma9-with-py3/Dockerfile diff --git a/docker/alma9-with-py3/Dockerfile b/docker/alma9-with-py3/Dockerfile new file mode 100644 index 0000000..2820e51 --- /dev/null +++ b/docker/alma9-with-py3/Dockerfile @@ -0,0 +1,4 @@ +FROM almalinux:9 +RUN dnf install --enablerepo "baseos-debuginfo" -y epel-release cmake zlib-devel xz-devel python3-devel python3-debuginfo gcc g++ +WORKDIR /src/docker/alma9-with-py3 +CMD ls -lsa /usr/bin/cmake && mkdir -p release && cd release && cmake -DPYTHON3=ON -DPYTHON3_SOURCE="/usr/include/python3.9" -DCMAKE_BUILD_TYPE=Release ../../.. && make -j && cd .. && mkdir -p debug && cd debug && cmake -DCMAKE_BUILD_TYPE=Debug ../../.. && make -j && make test