24 lines
812 B
Docker
24 lines
812 B
Docker
# Copyright (c) 2020-now by the Zeek Project. See LICENSE for details.
|
|
|
|
FROM ubuntu:jammy
|
|
|
|
# Increase this to force a rebuild of the Docker image (in Cirrus, in particular).
|
|
ENV IMAGE_VERSION=1
|
|
|
|
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 "btest>=0.66" pre-commit \
|
|
&& apt-get clean \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /root
|