mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00

Got a build failure because the old container images had python3-devel for Python3.11 or something older, but then prepare.sh would install Python 3.13 and Zeek's configure failing due to trying to find the devel headers from python313-devel which wasn't installed by prepare.sh
42 lines
906 B
Docker
42 lines
906 B
Docker
FROM opensuse/tumbleweed
|
|
|
|
# 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 20250311
|
|
|
|
# Remove the repo-openh264 repository, it caused intermittent issues
|
|
# and we should not be needing any packages from it.
|
|
RUN zypper modifyrepo --disable repo-openh264 || true
|
|
|
|
RUN zypper refresh \
|
|
&& zypper in -y \
|
|
awk \
|
|
bison \
|
|
ccache \
|
|
cmake \
|
|
cppzmq-devel \
|
|
curl \
|
|
diffutils \
|
|
dnsmasq \
|
|
findutils \
|
|
flex \
|
|
gcc \
|
|
gcc-c++ \
|
|
git \
|
|
gzip \
|
|
jq \
|
|
libopenssl-devel \
|
|
libpcap-devel \
|
|
make \
|
|
openssh \
|
|
python3 \
|
|
python3-devel \
|
|
python3-pip \
|
|
swig \
|
|
tar \
|
|
util-linux \
|
|
which \
|
|
zlib-devel \
|
|
&& rm -rf /var/cache/zypp
|
|
|
|
RUN pip3 install --break-system-packages websockets junit2html
|