Closed esolitos closed 1 year ago
Your link shows init_container
being included in sudoers file
Oh sorry, I see now that I did a mistake in typing the issue. 😓
The correct script was init_drupal
(as mentioned in the title) and not init_container, which as you say is already included. 😃
it wasn't included in the base image because init_drupal
added in the drupal-php image. Also it seems it doesn't require sudo permissions to do anything, otherwise we would update sudoers in the drupal-php
You are absolutely right, not sure what was the issue I encountered 🤔 I can confirm that there is no need for sudo, I have used this successfully in several places.
thanks for the feedback.
Problem / Motivation
We use the container images in Amazon ECS and to setup the containers we use the provided
init_drupal
script when the container starts up, however to do so we had to include this command in the sudoers file.Is there a rationale why
/usr/local/bin/init_drupal
was not included in/etc/sudoers.d/wodby
like the other scripts in wodby/php?