Skip to content

Commit

Permalink
[import-document,import-file-stix] Changes in Dockerfile to resolve #…
Browse files Browse the repository at this point in the history
…2507 (#2508)

Signed-off-by: leitosama <[email protected]>
  • Loading branch information
leitosama authored Aug 24, 2024
1 parent f096f22 commit fcace73
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion internal-import-file/import-document/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ RUN apk --no-cache add git build-base libmagic libffi-dev libxml2-dev libxslt-de

# Expose and entrypoint
COPY entrypoint.sh /
RUN chmod +x /entrypoint.sh
RUN chmod +x /entrypoint.sh && chown -R :root /opt/opencti-connector-import-document && chmod -R g+rwX /opt/opencti-connector-import-document
WORKDIR /opt/opencti-connector-import-document
ENTRYPOINT ["/entrypoint.sh"]
3 changes: 2 additions & 1 deletion internal-import-file/import-file-stix/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ RUN apk --no-cache add git build-base libmagic libffi-dev libxml2-dev libxslt-de

# Expose and entrypoint
COPY entrypoint.sh /
RUN chmod +x /entrypoint.sh
RUN chmod +x /entrypoint.sh && chown -R :root /opt/opencti-connector-import-file-stix && chmod -R g+rwX /opt/opencti-connector-import-file-stix
WORKDIR /opt/opencti-connector-import-file-stix
ENTRYPOINT ["/entrypoint.sh"]

0 comments on commit fcace73

Please sign in to comment.