Class: Kuby::Docker::AppImage

Inherits:
TimestampedImage show all
Defined in:
lib/kuby/docker/app_image.rb

Instance Attribute Summary

Attributes inherited from Image

#alias_tags, #credentials, #identifier, #image_url, #main_tag, #registry_index_url

Instance Method Summary collapse

Methods inherited from TimestampedImage

#build, #current_version, #exists?, #latest_timestamp_tag, #new_version, #previous_timestamp_tag, #previous_version, #pull, #push

Methods inherited from Image

#build, #current_version, #docker_cli, #dockerfile, #image_host, #image_hostname, #image_repo, #image_uri, #new_version, #previous_version, #pull, #push, #registry_index_host, #registry_index_hostname, #registry_index_uri, #tags

Constructor Details

#initialize(dockerfile, image_url, credentials, registry_index_url = nil, main_tag = nil, alias_tags = []) ⇒ AppImage

T::Sig::WithoutRuntime.sig

params(
  dockerfile: T.any(Dockerfile, T.proc.returns(Dockerfile)),
  image_url: String,
  credentials: Credentials,
  registry_index_url: T.nilable(String),
  main_tag: T.nilable(String),
  alias_tags: T::Array[String]
).void



19
20
21
22
# File 'lib/kuby/docker/app_image.rb', line 19

def initialize(dockerfile, image_url, credentials, registry_index_url = nil, main_tag = nil, alias_tags = [])
  super
  @identifier = "app"
end