lib/minke/generators/processor.rb in minke-1.8.3 vs lib/minke/generators/processor.rb in minke-1.9.0
- old
+ new
@@ -24,9 +24,12 @@
image = build_image generator.generate_settings.docker_file unless generator.generate_settings.docker_file == nil
image = fetch_image generator.generate_settings.docker_image unless generator.generate_settings.docker_image == nil
run_command_in_container image, generator.generate_settings.command unless generator.generate_settings.command == nil
end
+
+ # write the shell script
+ Minke::Generators::write_bash_script output_folder + "/_build/minke.sh"
end
def build_image docker_file
puts "## Building custom docker image"