Skip to content

Commit

Permalink
add Dockerfile for testing on almalinux 9 with py3
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mkisielewski-arista authored and peadar committed Jan 21, 2025
1 parent b76f346 commit a144c65
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker/alma9-with-py3/Dockerfile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a144c65

Please sign in to comment.