Skip to content

Commit

Permalink
Update analyzer-Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
giga-a authored Aug 8, 2023
1 parent 7761be4 commit d27a2f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions analyzer-Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ RUN python3 -c 'import tldextract; tldextract.TLDExtract()'
RUN ln -s /usr/local/lib/python3.7/site-packages/usr/local/lib/libyara.so /usr/local/lib/libyara.so
RUN pip3 install --global-option="build" --global-option="--enable-cuckoo" --global-option="--enable-magic" yara-python
RUN chmod a+r /etc/snort/snort.conf
RUN wget -O /tmp/community-rules.tar.gz https://www.snort.org/downloads/community/community-rules.tar.gz && \
mkdir -p /etc/snort/rules && \
tar zxvf /tmp/community-rules.tar.gz -C /etc/snort/rules --strip-components=1
#RUN wget -O /tmp/community-rules.tar.gz https://www.snort.org/downloads/community/community-rules.tar.gz && \
# mkdir -p /etc/snort/rules && \
# tar zxvf /tmp/community-rules.tar.gz -C /etc/snort/rules --strip-components=1
ADD ./ /analyzer
RUN mv /analyzer/old-backup-yara-rules-github.zip /tmp/yara-rules.zip && \
mkdir -p /analyzer/yara/yara-rules-github && \
Expand Down

0 comments on commit d27a2f0

Please sign in to comment.