mirror of
https://github.com/certat/intelmq-docker.git
synced 2026-10-06 15:14:43 +02:00
Update Dockerfile
Good morning, we found an error in sudoers file, it must be /etc/ not /opt/ !
This commit is contained in:
1 parent
25166024c8
commit
51a1d7a4bf
1 file changed
+1
-1
@@ -47,7 +47,7 @@ COPY ./intelmq-api /opt/intelmq-api
|
||||
|
||||
RUN useradd -d /opt/intelmq -U -s /bin/bash intelmq \
|
||||
&& 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 \
|
||||
&& mkdir -p /opt/intelmq_persistence \
|
||||
&& sudo chown -R intelmq:intelmq /opt/intelmq_persistence
|
||||
|
||||
Reference in new issue
Block a user