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

- Use sha256 for build file hash - Use build file hash as part of the data for the HMAC digest - Remove a few unnecessary lines from the centos8 dockerfile - Pass timestamp in UTC
35 lines
842 B
Docker
35 lines
842 B
Docker
FROM centos:8
|
|
|
|
RUN dnf -y install epel-release dnf-plugins-core \
|
|
&& dnf clean all && rm -rf /var/cache/dnf
|
|
|
|
RUN dnf config-manager --set-enabled PowerTools
|
|
|
|
RUN dnf -y update && dnf -y install \
|
|
git \
|
|
cmake3 \
|
|
make \
|
|
gcc \
|
|
gcc-c++ \
|
|
flex \
|
|
bison \
|
|
swig \
|
|
openssl \
|
|
openssl-devel \
|
|
libpcap-devel \
|
|
python3 \
|
|
python3-devel \
|
|
python3-pip \
|
|
zlib-devel \
|
|
libsqlite3x-devel \
|
|
findutils \
|
|
which \
|
|
&& dnf clean all && rm -rf /var/cache/dnf
|
|
|
|
# Many distros adhere to PEP 394's recommendation for `python` = `python2` so
|
|
# this is a simple workaround until we drop Python 2 support and explicitly
|
|
# use `python3` for all invocations (e.g. in shebangs).
|
|
RUN ln -sf /usr/bin/python3 /usr/local/bin/python
|
|
RUN ln -sf /usr/bin/pip3 /usr/local/bin/pip
|
|
|
|
RUN pip install junit2html
|