Skip to content

Commit

Permalink
Merge pull request #604 from Security-Onion-Solutions/reyesj2-zeek7
Browse files Browse the repository at this point in the history
  • Loading branch information
reyesj2 authored Nov 26, 2024
2 parents b3b8d7a + 2004bf6 commit a964e76
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions so-zeek/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -84,21 +84,15 @@ FROM ghcr.io/security-onion-solutions/oraclelinux:9
LABEL maintainer "Security Onion Solutions, LLC"
LABEL description="Zeek running in docker for use with Security Onion"

# Common Oracle layer
# Common Oracle layer, Packages specific to container, User configuration
RUN dnf update -y && dnf -y install epel-release bash libpcap iproute && \
dnf clean all && rm -rf /var/cache/dnf/*

# Zeek http2
RUN dnf config-manager --enable ol9_codeready_builder && \
dnf clean all && rm -rf /var/cache/dnf/* && \
dnf -y install findutils jemalloc numactl libnl3 libdnet gdb libunwind-devel && \
dnf -y erase epel-release && dnf clean all && rm -rf /var/cache/dnf/* && \
dnf config-manager --enable ol9_codeready_builder && \
dnf -y install libnghttp2-devel brotli-devel && \
dnf config-manager --disable ol9_codeready_builder

# Packages Specific to this Container
RUN dnf -y install findutils jemalloc numactl libnl3 libdnet gdb libunwind-devel && \
dnf -y erase epel-release && dnf clean all && rm -rf /var/cache/dnf/*

# User configuration
RUN groupadd --gid 937 zeek && \
dnf config-manager --disable ol9_codeready_builder && \
groupadd --gid 937 zeek && \
adduser --uid 937 --gid 937 --home-dir /opt/zeek --no-create-home zeek

COPY --from=builder /nsm/zeek /nsm/zeek
Expand Down

0 comments on commit a964e76

Please sign in to comment.