Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

27 lines
626 B
Docker

FROM opensuse/leap:15.6
# A version field to invalidate Cirrus's build cache when needed, as suggested in
# https://github.com/cirruslabs/cirrus-ci-docs/issues/544#issuecomment-566066822
ENV DOCKERFILE_VERSION 20240524
RUN zypper refresh \
&& zypper in -y \
cmake \
gcc12 \
gcc12-c++ \
git \
gzip \
libpcap-devel \
make \
python312 \
python312-devel \
python312-pip \
tar \
which \
&& rm -rf /var/cache/zypp
RUN pip3 install btest
RUN update-alternatives --install /usr/bin/cc cc /usr/bin/gcc-12 100
RUN update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++-12 100