Position.conf fix

Fixes #2

Signed-off-by: Sebastian Waldbauer <waldbauer@cert.at>
This commit is contained in:
Sebastian Waldbauer
2020-11-12 12:47:15 +01:00
parent 267264e6b4
commit bb8eed7964
6 changed files with 96 additions and 31 deletions

View File

@@ -49,11 +49,6 @@ RUN cd /opt/intelmq-manager \
&& pip3 install hug mako \
&& pip3 install --no-cache-dir -e .
RUN mkdir /opt/intelmq/etc/manager/ \
&& touch /opt/intelmq/etc/manager/positions.conf \
&& chgrp www-data /opt/intelmq/etc/*.conf /opt/intelmq/etc/manager/positions.conf \
&& chmod g+w /opt/intelmq/etc/*.conf /opt/intelmq/etc/manager/positions.conf
ADD entrypoint.sh /opt/entrypoint.sh
RUN chmod +x /opt/entrypoint.sh