Update Dockerfile

Good morning, we found an error in sudoers file, it must be /etc/ not /opt/ !
This commit is contained in:
Einar Felipe Lanfranco
2022-11-11 13:50:58 -03:00
committed by Sebastian Waldbauer
parent 25166024c8
commit 51a1d7a4bf

View File

@@ -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