_docker/control.rb
#
# Builds all of the environment resources including Docker images and any CSS/JS in the case of Drupal
#
Builds all of the environment resources including Docker images and any CSS/JS in the case of Drupal
Builds all of the environment resources including Docker images and any CSS / JS in the case of Drupal
def build_environment_resources(environment, system_exec)
  puts "Building all required resources for environment '#{environment.environment_name}'"
  if environment.is_drupal_environment?
    build_css_and_js_for_drupal
    environment.create_template_resources
  end
  copy_project_dependencies_for_awestruct_image
  build_base_docker_images(environment, system_exec)
  build_environment_docker_images(environment, system_exec)
end
def build_environment_resources ( environment , system_exec ) puts "Building all required resources for environment '#{environment.environment_name}'" if environment . is_drupal_environment? build_css_and_js_for_drupal environment . create_template_resources end copy_project_dependencies_for_awestruct_image build_base_docker_images ( environment , system_exec ) build_environment_docker_images ( environment , system_exec ) end
Builds all of the environment resources including Docker images and any CSS/JS in the case of Drupal
Builds all of the environment resources including Docker images and any CSS / JS in the case of Drupal
environment
system_exec