Skip to content

Commit

Permalink
[yara] Remove apt-get from yara Dockerfile (#2848)
Browse files Browse the repository at this point in the history
  • Loading branch information
helene-nguyen authored Oct 28, 2024
1 parent 1f6c5ea commit 90d2b90
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal-enrichment/yara/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ COPY src /opt/opencti-yara
# Install Python modules
# hadolint ignore=DL3003
RUN apk update && apk upgrade && \
apk --no-cache add gcc git build-base libmagic libffi-dev yara && \
apt-get clean
apk --no-cache add gcc git build-base libmagic libffi-dev yara

RUN pip3 install --no-cache-dir -r /opt/opencti-yara/requirements.txt && \
apk del git build-base
Expand Down

0 comments on commit 90d2b90

Please sign in to comment.