Class: Kuby::Docker::AppImage
- Inherits:
-
TimestampedImage
- Object
- Image
- TimestampedImage
- Kuby::Docker::AppImage
- Extended by:
- T::Sig
- Defined in:
- lib/kuby/docker/app_image.rb
Instance Attribute Summary
Attributes inherited from Image
#alias_tags, #credentials, #image_url, #main_tag
Instance Method Summary collapse
Methods inherited from TimestampedImage
#current_version, #initialize, #latest_timestamp_tag, #new_version, #previous_timestamp_tag, #previous_version, #push
Methods inherited from Image
#current_version, #docker_cli, #dockerfile, #image_host, #image_hostname, #image_repo, #image_uri, #initialize, #new_version, #previous_version, #push, #tags
Constructor Details
This class inherits a constructor from Kuby::Docker::TimestampedImage
Instance Method Details
#build(build_args = {}) ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/kuby/docker/app_image.rb', line 10 def build(build_args = {}) unless ENV.fetch('RAILS_MASTER_KEY', '').empty? build_args['RAILS_MASTER_KEY'] = T.must(ENV['RAILS_MASTER_KEY']) end super(build_args) end |