docker/pool/builder/lib/builder.rb
def write_ids(image_id, id_file = @id_file)
      @logger.info "Write image id <#{image_id}> and commit id <#{@git_commit_id}> to #{@id_file}"

      File.open(id_file, "a") do |file|
        file.write("#{@git_commit_id}/#{image_id}\n")
      end
    end
# Write Git commit id and Docker image id to id file.
# id file is needed for controller to judge to build new image
#
# [image_id]
#   Docker image id
# [id_file]
#   Path to id file
Write Git commit id and Docker image id to id file.
id file is needed for controller to judge to build new image

[image_id]
Docker image id
[id_file]
Path to id file
Write Git commit id and Docker image id to id file . id file is needed for controller to judge to build new image [ image_id ] Docker image id [ id_file ] Path to id file
def write_ids(image_id, id_file = @id_file)
      @logger.info "Write image id <#{image_id}> and commit id <#{@git_commit_id}> to #{@id_file}"
      File.open(id_file, "a") do |file|
        file.write("#{@git_commit_id}/#{image_id}\n")
      end
    end
def write_ids ( image_id , id_file = @id_file ) @logger . info "Write image id <#{image_id}> and commit id <#{@git_commit_id}> to #{@id_file}" File . open ( id_file , "a" ) do | file | file . write ( "#{@git_commit_id}/#{image_id}\n" ) end end
Write Git commit id and Docker image id to id file.
Write Git commit id and Docker image id to id file .
image_id
id_file