mirror of
https://github.com/certat/intelmq-docker.git
synced 2026-02-21 06:35:27 +01:00
Adding Dockerfile to dev version
This commit is contained in:
9
.docker/intelmq-full-dev/update
Normal file
9
.docker/intelmq-full-dev/update
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
cp -a /mybots/bots/* /opt/intelmq/dev_intelmq/intelmq/bots/
|
||||
cd /opt/dev_intelmq && pip3 install -e .
|
||||
echo "Install requirements for bots in dev repository"
|
||||
for file in $(find /intelmq-bots/ -name "*REQUIREMENTS.txt"); do pip3 install -r $file; done
|
||||
chown -R intelmq:intelmq /opt/intelmq/
|
||||
chown -R intelmq.www-data /opt/intelmq/etc/;
|
||||
chmod -R g+w /opt/intelmq
|
||||
su - intelmq -s /bin/bash -c 'intelmqctl upgrade-config'
|
||||
Reference in New Issue
Block a user