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

The cluster/websocket tests were developed against websockets 14.2, but Ubuntu and Alpine ship too old versions. Switch to installing the latest version from pip instead, so we don't need to bother making tests compatible with very old Python packages shipped by distributions.
46 lines
920 B
Docker
46 lines
920 B
Docker
FROM ubuntu:24.10
|
|
|
|
ENV DEBIAN_FRONTEND="noninteractive" TZ="America/Los_Angeles"
|
|
|
|
# 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 20241115
|
|
|
|
RUN apt-get update && apt-get -y install \
|
|
bc \
|
|
bison \
|
|
bsdmainutils \
|
|
ccache \
|
|
clang-18 \
|
|
clang++-18 \
|
|
cmake \
|
|
cppzmq-dev \
|
|
curl \
|
|
dnsmasq \
|
|
flex \
|
|
g++ \
|
|
gcc \
|
|
git \
|
|
jq \
|
|
lcov \
|
|
libkrb5-dev \
|
|
libmaxminddb-dev \
|
|
libpcap-dev \
|
|
libssl-dev \
|
|
make \
|
|
python3 \
|
|
python3-dev \
|
|
python3-pip \
|
|
ruby \
|
|
sqlite3 \
|
|
swig \
|
|
unzip \
|
|
wget \
|
|
zlib1g-dev \
|
|
libc++-dev \
|
|
libc++abi-dev \
|
|
&& apt autoclean \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN pip3 install --break-system-packages websockets junit2html
|
|
RUN gem install coveralls-lcov
|