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.
34 lines
616 B
Docker
34 lines
616 B
Docker
FROM alpine:latest
|
|
|
|
# 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 20241024
|
|
|
|
RUN apk add --no-cache \
|
|
bash \
|
|
bison \
|
|
bsd-compat-headers \
|
|
ccache \
|
|
cmake \
|
|
cppzmq \
|
|
curl \
|
|
diffutils \
|
|
dnsmasq \
|
|
flex-dev \
|
|
musl-fts-dev \
|
|
g++ \
|
|
git \
|
|
jq \
|
|
libpcap-dev \
|
|
linux-headers \
|
|
make \
|
|
openssh-client \
|
|
openssl-dev \
|
|
procps \
|
|
py3-pip \
|
|
python3 \
|
|
python3-dev \
|
|
swig \
|
|
zlib-dev
|
|
|
|
RUN pip3 install --break-system-packages websockets junit2html
|