Fix permissions

Steven 2021-03-08 23:25:03 +01:00
parent 944f89479e
commit f519e804ee
1 changed files with 8 additions and 3 deletions

View File

@ -15,14 +15,19 @@ RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
RUN useradd misp && usermod -aG sudo misp
USER misp
# Install script
COPY INSTALL_NODB.sh .
RUN chmod +x INSTALL_NODB.sh
RUN echo "ALL ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
USER misp
RUN bash INSTALL_NODB.sh -A -u
USER root
# Supervisord Setup
RUN ( \
echo '[supervisord]'; \