Skip to content

Commit

Permalink
[import-file-stix] Fix the build
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelHassine committed Feb 9, 2023
1 parent f0d1c6b commit f23643e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal-import-file/import-file-stix/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ COPY src /opt/opencti-connector-import-file-stix

# Install Python modules
# hadolint ignore=DL3003
RUN apk --no-cache add git build-base libmagic libffi-dev libxml2-dev libxslt-dev && \
RUN apk --no-cache add git build-base libmagic libffi-dev libxml2-dev libxslt-dev gfortran musl-dev g++ openblas openblas-dev && \

This comment has been minimized.

Copy link
@ckane

ckane Feb 9, 2023

Contributor

@SamuelHassine Thanks for catching that I missed adding this to the add line, my mistake. You might want to take openblas off the apk del line though, because I think it might be needed by numpy at run time.

cd /opt/opencti-connector-import-file-stix && \
pip3 install --no-cache-dir -r requirements.txt && \
apk del git build-base gfortran musl-dev g++ openblas openblas-dev
Expand Down

0 comments on commit f23643e

Please sign in to comment.