From e21a5f68731a1b0f98b38546f411e93f16dde2d7 Mon Sep 17 00:00:00 2001 From: Samuel Hassine Date: Fri, 24 Jan 2020 15:46:04 +0100 Subject: [PATCH] [worker] Fix libmagic dependency in Docker --- opencti-worker/Dockerfile | 2 +- opencti-worker/src/requirements.txt | 10 ---------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/opencti-worker/Dockerfile b/opencti-worker/Dockerfile index 248c1a4ebb7f..a17415d506c8 100644 --- a/opencti-worker/Dockerfile +++ b/opencti-worker/Dockerfile @@ -5,7 +5,7 @@ COPY src /opt/opencti-worker # Install Python modules # hadolint ignore=DL3003 -RUN apk --no-cache add git build-base && \ +RUN apk --no-cache add git build-base libmagic && \ cd /opt/opencti-worker && \ pip3 install --no-cache-dir git+https://github.com/OpenCTI-Platform/client-python@master && \ pip3 install --no-cache-dir -r requirements.txt && \ diff --git a/opencti-worker/src/requirements.txt b/opencti-worker/src/requirements.txt index d47234a5e9e5..704117e5828a 100644 --- a/opencti-worker/src/requirements.txt +++ b/opencti-worker/src/requirements.txt @@ -1,15 +1,5 @@ requests PyYAML -setuptools -pypandoc -python-dateutil -datefinder -stix2 -pytz pika -stix2-validator -deprecated -black -python-magic pycti black