mirror of
https://github.com/certat/intelmq-docker.git
synced 2025-12-06 17:22:57 +01:00
Update Dockerfile
Good morning, we found an error in sudoers file, it must be /etc/ not /opt/ !
This commit is contained in:
committed by
Sebastian Waldbauer
parent
25166024c8
commit
51a1d7a4bf
@@ -47,7 +47,7 @@ COPY ./intelmq-api /opt/intelmq-api
|
|||||||
|
|
||||||
RUN useradd -d /opt/intelmq -U -s /bin/bash intelmq \
|
RUN useradd -d /opt/intelmq -U -s /bin/bash intelmq \
|
||||||
&& adduser intelmq sudo \
|
&& adduser intelmq sudo \
|
||||||
&& echo "%sudo ALL=(ALL) NOPASSWD:ALL" >> /opt/sudoers \
|
&& echo "%sudo ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers \
|
||||||
&& sudo chown -R intelmq:intelmq /opt/intelmq \
|
&& sudo chown -R intelmq:intelmq /opt/intelmq \
|
||||||
&& mkdir -p /opt/intelmq_persistence \
|
&& mkdir -p /opt/intelmq_persistence \
|
||||||
&& sudo chown -R intelmq:intelmq /opt/intelmq_persistence
|
&& sudo chown -R intelmq:intelmq /opt/intelmq_persistence
|
||||||
|
|||||||
Reference in New Issue
Block a user