lib/dockistrano/service.rb
# Builds a new image for this service
Builds a new image for this service
Builds a new image for this service
def build
      previous_image_id = image_id
      Docker.build(full_image_name)
      if previous_image_id == image_id
        false
      else
        true
      end
    end
def build previous_image_id = image_id Docker . build ( full_image_name ) if previous_image_id == image_id false else true end end
Builds a new image for this service
Builds a new image for this service
# If the image id hasn't changed the build was not successfull