mirror of
https://github.com/certat/intelmq-docker.git
synced 2025-12-06 01:02:52 +01:00
IntelMQ 3.2.1. Improvmenets to test.sh
This commit is contained in:
2
intelmq
2
intelmq
Submodule intelmq updated: 3a32cbe062...633cf7b4d4
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
build_version="3.2.0"
|
||||
build_version="3.2.1"
|
||||
namespace="certat"
|
||||
|
||||
docker login
|
||||
|
||||
8
test.sh
8
test.sh
@@ -43,3 +43,11 @@ docker run --rm -v $(pwd)/example_config/intelmq/etc/:/etc/intelmq/etc/ \
|
||||
|
||||
echo Removing AMQP container
|
||||
docker container kill $amq_id
|
||||
|
||||
# restore broke priviliges
|
||||
|
||||
for mounted_dir in example_config intelmq_logs intelmq_output intelmq_persistence;
|
||||
do
|
||||
echo "Restoring broken privelages to `whoami` for directory $mounted_dir"
|
||||
sudo chown -R `whoami`:`whoami` $(pwd)/$mounted_dir
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user