Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Drupal
drupalizer
Commits
e5ce9424
Commit
e5ce9424
authored
Nov 24, 2016
by
Victor Nikulshin
Browse files
Add drupalizer to sudoers file without password
parent
16a280e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
e5ce9424
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment