Skip to content

Commit

Permalink
#450 Add drone configuration to build analyzer docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Apr 5, 2019
1 parent 5802da1 commit 41417cb
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
kind: pipeline
name: default

steps:
- name: build workers for release
image: thehiveproject/cortex-worker-builder
settings:
namespace: tooom
user: {from_secret: docker_username}
password: {from_secret: docker_password}
latest: true
when:
event: [tag]

- name: build snapshot workers
image: thehiveproject/cortex-worker-builder
settings:
namespace: tooom
user: {from_secret: docker_username}
password: {from_secret: docker_password}
when:
event: {exclude: [tag]}
2 changes: 1 addition & 1 deletion analyzers/DShield/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
cortexutils
urllib2
requests
9 changes: 9 additions & 0 deletions analyzers/FileInfo/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM python:3

WORKDIR /analyzer
COPY . FileInfo
RUN apt update && \
apt install -y -q libfuzzy-dev libimage-exiftool-perl && \
rm -rf /var/lib/apt/lists/* && \
pip install --no-cache-dir -r FileInfo/requirements.txt
CMD FileInfo/fileinfo_analyzer.py
1 change: 1 addition & 0 deletions analyzers/ProofPoint/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
requests

0 comments on commit 41417cb

Please sign in to comment.