Commit e5ce9424 authored by Victor Nikulshin's avatar Victor Nikulshin

Add drupalizer to sudoers file without password

parent 16a280e0
......@@ -9,6 +9,7 @@ COPY . /opt/sfl
# Create user used by Drupalizer tasks
RUN useradd --home-dir /opt/init --create-home drupalizer --shell /bin/bash && passwd -d drupalizer
RUN echo 'drupalizer ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
RUN echo 'cd /opt/sfl/src/drupal' > /opt/init/.profile
# Setup SSH access
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment