_docker/lib/drupal-data/lite/drupal_data_lite_image_builder.rb
def build_lite_data_image
    @process_runner.execute!("cd #{@working_directory} && docker run --rm -v #{@working_directory}/work:/work redhatdeveloper/drupal-data:latest /bin/sh -c \"cp -R /var/www/drupal/web/config/active /work/config && chmod -R 777 /work/config\"")
    @process_runner.execute!("cd #{@working_directory} && docker run --rm -v #{@working_directory}/work:/work redhatdeveloper/drupal-data:latest /bin/sh -c \"cp -R /var/www/drupal/web/sites/default/files /work/files && chmod -R 777 /work/files\"")

    @process_runner.execute!("cd #{@working_directory} && docker build -t redhatdeveloper/drupal-data-lite:latest -f Dockerfile.lite .")
  end
#
# Builds the new version of the "lite" data image and tags it as redhatdeveloper/drupal-data-lite:latest
#
Builds the new version of the "lite" data image and tags it as redhatdeveloper/drupal-data-lite:latest
Builds the new version of the " lite " data image and tags it as redhatdeveloper / drupal - data - lite : latest
def build_lite_data_image
    @process_runner.execute!("cd #{@working_directory} && docker run --rm -v #{@working_directory}/work:/work redhatdeveloper/drupal-data:latest /bin/sh -c \"cp -R /var/www/drupal/web/config/active /work/config && chmod -R 777 /work/config\"")
    @process_runner.execute!("cd #{@working_directory} && docker run --rm -v #{@working_directory}/work:/work redhatdeveloper/drupal-data:latest /bin/sh -c \"cp -R /var/www/drupal/web/sites/default/files /work/files && chmod -R 777 /work/files\"")
    @process_runner.execute!("cd #{@working_directory} && docker build -t redhatdeveloper/drupal-data-lite:latest -f Dockerfile.lite .")
  end
def build_lite_data_image @process_runner . execute! ( "cd #{@working_directory} && docker run --rm -v #{@working_directory}/work:/work redhatdeveloper/drupal-data:latest /bin/sh -c \"cp -R /var/www/drupal/web/config/active /work/config && chmod -R 777 /work/config\"" ) @process_runner . execute! ( "cd #{@working_directory} && docker run --rm -v #{@working_directory}/work:/work redhatdeveloper/drupal-data:latest /bin/sh -c \"cp -R /var/www/drupal/web/sites/default/files /work/files && chmod -R 777 /work/files\"" ) @process_runner . execute! ( "cd #{@working_directory} && docker build -t redhatdeveloper/drupal-data-lite:latest -f Dockerfile.lite ." ) end
Builds the new version of the "lite" data image and tags it as redhatdeveloper/drupal-data-lite:latest
Builds the new version of the " lite " data image and tags it as redhatdeveloper / drupal - data - lite : latest