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

This exposes Broker's new WebSocket support in Zeek. To enable it, call `Broker::listen_websocket()`. Zeek will then start listening on port 9997 for incoming WebSocket connections. See the Broker documentation for a description of the message format expected over these WebSocket connections.
40 lines
1,017 B
Docker
40 lines
1,017 B
Docker
FROM debian:10
|
|
|
|
ENV DEBIAN_FRONTEND="noninteractive" TZ="America/Los_Angeles"
|
|
|
|
# A version field to invalide Cirrus's build cache when needed, as suggested in
|
|
# https://github.com/cirruslabs/cirrus-ci-docs/issues/544#issuecomment-566066822
|
|
ENV DOCKERFILE_VERSION 20220519
|
|
|
|
ENV CMAKE_DIR "/opt/cmake"
|
|
ENV CMAKE_VERSION "3.19.1"
|
|
|
|
RUN apt-get update && apt-get -y install \
|
|
git \
|
|
make \
|
|
gcc \
|
|
g++ \
|
|
flex \
|
|
bison \
|
|
libpcap-dev \
|
|
libssl-dev \
|
|
python3 \
|
|
python3-dev \
|
|
python3-pip\
|
|
swig \
|
|
zlib1g-dev \
|
|
libkrb5-dev \
|
|
bsdmainutils \
|
|
sqlite3 \
|
|
curl \
|
|
wget \
|
|
xz-utils \
|
|
ccache \
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
# Install a recent CMake to build Spicy.
|
|
&& mkdir -p "${CMAKE_DIR}" \
|
|
&& curl -sSL "https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-Linux-x86_64.tar.gz" | tar xzf - -C "${CMAKE_DIR}" --strip-components 1 \
|
|
|
|
&& pip3 install websockets junit2html
|
|
|
|
ENV PATH "${CMAKE_DIR}/bin:${PATH}"
|