mirror of
https://github.com/certat/intelmq-docker.git
synced 2025-12-06 01:02:52 +01:00
FIX: Create intelmq_persistence before mounting
We discovered an permission problem on some machines, because intelmq_persistence will get mounted afterwards via volume. So we create it beforehand & change its permission with owner rights and then mount it in the container. Signed-off-by: Sebastian Waldbauer <waldbauer@cert.at>
This commit is contained in:
@@ -45,7 +45,9 @@ COPY ./intelmq-api /etc/intelmq-api
|
||||
RUN useradd -d /etc/intelmq -U -s /bin/bash intelmq \
|
||||
&& adduser intelmq sudo \
|
||||
&& echo "%sudo ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers \
|
||||
&& sudo chown -R intelmq:intelmq /etc/intelmq
|
||||
&& sudo chown -R intelmq:intelmq /etc/intelmq \
|
||||
&& mkdir /opt/intelmq_persistence \
|
||||
&& sudo chown -R intelmq:intelmq /opt/intelmq_persistence
|
||||
|
||||
### Install IntelMQ
|
||||
RUN cd /etc/intelmq \
|
||||
|
||||
Reference in New Issue
Block a user