_docker/control.rb
#
# Delegates to the environment for initialisation
#
Delegates to the environment for initialisation
Delegates to the environment for initialisation
def initialise_environment(environment, pull_drupal_data_image, system_exec)
  environment.initialize_environment
  if pull_drupal_data_image
    puts '- Pulling drupal_data image from Docker Hub...'
    system_exec.execute_docker_compose(environment, :pull, %w(drupal_data));
    puts '- Completed pull of drupal_data image from Docker Hub.'
  end
end
def initialise_environment ( environment , pull_drupal_data_image , system_exec ) environment . initialize_environment if pull_drupal_data_image puts '- Pulling drupal_data image from Docker Hub...' system_exec . execute_docker_compose ( environment , :pull , %w( drupal_data ) ) ; puts '- Completed pull of drupal_data image from Docker Hub.' end end
Delegates to the environment for initialisation
Delegates to the environment for initialisation
environment
pull_drupal_data_image
system_exec