Skip to content

Commit

Permalink
arkime-docker: Rework deps to make arkime work
Browse files Browse the repository at this point in the history
  • Loading branch information
lanathlor committed Apr 23, 2024
1 parent a86a543 commit a73af36
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions docker/Arkime/Arkime.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,20 @@ ENV ARKIMEDIR "/opt/arkime"


# Install Arkime
RUN apt-get update && apt-get install -y curl libmagic-dev wget logrotate
RUN mkdir -p /data /suricata-logs
RUN apt-get update && apt-get install -y curl wget logrotate
RUN mkdir -p /tmp /suricata-logs

WORKDIR /data
WORKDIR /tmp
RUN wget -q "https://s3.amazonaws.com/files.molo.ch/builds/ubuntu-"$UBUNTU_VERSION"/"$ARKIME_DEB_PACKAGE
RUN apt-get install -y ./$ARKIME_DEB_PACKAGE

RUN wget -q -O /opt/arkime/etc/oui.txt "https://www.wireshark.org/download/automated/data/manuf"
RUN $ARKIMEDIR/bin/arkime_update_geo.sh


# add config

FROM debian:bookworm-slim as runner
FROM debian:bullseye as runner

# Declare args

Expand All @@ -36,9 +39,9 @@ ENV ARKIME_ADMIN_PASSWORD "selks-user"
ENV ARKIME_HOSTNAME "arkime"
ENV ARKIMEDIR "/opt/arkime"

COPY --from=installer $ARKIMEDIR $ARKIMEDIR
RUN apt-get update && apt-get install -y libpcre3 libyaml-0-2 libssl1.1 libmagic1

RUN $ARKIMEDIR/bin/arkime_update_geo.sh
COPY --from=installer $ARKIMEDIR $ARKIMEDIR

COPY start-arkimeviewer.sh /start-arkimeviewer.sh
COPY arkimepcapread-selks-config.ini /opt/arkime/etc/config.ini
Expand Down

0 comments on commit a73af36

Please sign in to comment.