zeek/auxil/spicy/docker/Dockerfile.ubuntu-24
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

24 lines
851 B
Docker

# Copyright (c) 2020-now by the Zeek Project. See LICENSE for details.
FROM ubuntu:noble
# Increase this to force a rebuild of the Docker image (in Cirrus, in particular).
ENV IMAGE_VERSION=2
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
CMD ["sh"]
ENV DEBIAN_FRONTEND=noninteractive
ENV PATH="/opt/spicy/bin:${PATH}"
# Spicy build and test dependencies.
RUN apt-get update \
&& apt-get install -y --no-install-recommends git cmake ninja-build ccache bison flex g++ libfl-dev zlib1g-dev libssl-dev jq locales-all make \
# Spicy doc dependencies.
&& apt-get install -y --no-install-recommends python3 python3-pip python3-sphinx python3-sphinx-rtd-theme python3-setuptools python3-wheel doxygen \
&& pip3 install --no-cache-dir --break-system-packages "btest>=0.66" pre-commit \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /root