mirror of
https://github.com/certat/intelmq-docker.git
synced 2025-12-06 09:12:49 +01:00
Update to IntelMQ 3.2
Move from nosetests to pytest. Move from hug to FastAPI
This commit is contained in:
@@ -24,8 +24,8 @@ fi
|
||||
if [[ $1 == "selftest" ]]
|
||||
then
|
||||
export INTELMQ_TEST_EXOTIC=1
|
||||
nosetests3 /etc/intelmq/intelmq/tests
|
||||
pytest-3 /etc/intelmq/intelmq/tests
|
||||
else
|
||||
cd /etc/intelmq-api && hug -m intelmq_api.serve -p8080
|
||||
cd /etc/intelmq-api && uvicorn intelmq_api.main:app -p8080
|
||||
fi
|
||||
|
||||
|
||||
@@ -23,7 +23,6 @@ RUN apt-get update \
|
||||
rsync \
|
||||
ssh \
|
||||
python3-pika \
|
||||
python3-nose \
|
||||
python3-dev \
|
||||
python3-setuptools \
|
||||
python3-pip \
|
||||
@@ -34,6 +33,8 @@ RUN apt-get update \
|
||||
python3-xmltodict \
|
||||
python3-cerberus \
|
||||
python3-requests-mock \
|
||||
python3-pytest \
|
||||
python3-pytest-cov \
|
||||
python3-shodan \
|
||||
python3-elasticsearch \
|
||||
python3-pymongo \
|
||||
|
||||
Reference in New Issue
Block a user