Skip to content

Commit

Permalink
global
Browse files Browse the repository at this point in the history
  • Loading branch information
hacktobeer committed Sep 21, 2024
1 parent 817eb60 commit f388104
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/tests/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ RUN echo "Defaults secure_path=\"/home/turbinia/.venv/bin:/usr/local/sbin:/usr/l
RUN cd /opt \
&& git clone https://github.com/Neo23x0/signature-base.git --depth=1\
&& sudo chown -R turbinia:turbinia /opt/signature-base \
&& git config --global --add safe.directory /opt/signature-base
&& sudo git config --global --add safe.directory /opt/signature-base
&& find /opt/signature-base -type f -not -path '*.git/*' -not -iname '*.yar' -not -iname '*.yara' -not -iname 'file-type-signatures.txt' -delete
COPY turbinia/config/rules/*.yar /opt/signature-base/yara/
RUN mkdir -p /opt/fraken && chown -R turbinia:turbinia /opt/fraken
Expand Down
2 changes: 1 addition & 1 deletion docker/worker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ RUN echo "Defaults secure_path=\"/home/turbinia/.venv/bin:/opt/fraken:/usr/local
RUN cd /opt \
&& git clone https://github.com/Neo23x0/signature-base.git --depth=1\
&& sudo chown -R turbinia:turbinia /opt/signature-base \
&& git config --global --add safe.directory /opt/signature-base
&& sudo git config --global --add safe.directory /opt/signature-base
&& find /opt/signature-base -type f -not -path '*.git/*' -not -iname '*.yar' -not -iname '*.yara' -not -iname 'file-type-signatures.txt' -delete
COPY turbinia/config/rules/*.yar /opt/signature-base/yara/
RUN mkdir -p /opt/fraken && chown -R turbinia:turbinia /opt/fraken
Expand Down

0 comments on commit f388104

Please sign in to comment.