Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove additional layers from zeek #604

Merged
merged 1 commit into from
Nov 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading