Class: LambdaRubyBundler::Image Private
- Inherits:
-
Object
- Object
- LambdaRubyBundler::Image
- Extended by:
- Forwardable
- Includes:
- Singleton
- Defined in:
- lib/lambda_ruby_bundler/image.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Wrapper around [Docker::Image] for building the image for the bundler containers.
Instance Method Summary collapse
-
#initialize ⇒ Image
constructor
private
A new instance of Image.
- #tag ⇒ Object private
Constructor Details
#initialize ⇒ Image
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Image.
13 14 15 |
# File 'lib/lambda_ruby_bundler/image.rb', line 13 def initialize @image = Docker::Image.build_from_dir(__dir__, 't' => tag) end |
Instance Method Details
#tag ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
17 18 19 20 21 22 |
# File 'lib/lambda_ruby_bundler/image.rb', line 17 def tag @tag ||= [ 'lambda-ruby-bundler', VERSION ].join(':') end |