lib/dockerun/docker_image_helper.rb in dockerun-0.3.4 vs lib/dockerun/docker_image_helper.rb in dockerun-0.3.5

- old
+ new

@@ -237,18 +237,20 @@ add_to_bundle = block.call(:add_to_bundle?, dest) if add_to_bundle @shared_dirs[File.basename(dest)] = dest end - block.call(:add_mount_to_container, container_name, mount.last) repeat = block.call(:add_more_volume_mapping?) break if not repeat end end + # + # Try to run once to install bundle config --local and create alias during image building + # insideDockerConfig = File.join(File.dirname(__FILE__),"..","..","template","setup_ruby_devenv.rb.erb") if File.exist?(insideDockerConfig) @docker_init_file_path = File.join(Dir.getwd,"on_docker_config")