class LambdaRubyBundler::Image

Wrapper around [Docker::Image] for building the image for the bundler containers. @api private

Public Class Methods

new() click to toggle source
# File lib/lambda_ruby_bundler/image.rb, line 13
def initialize
  @image = Docker::Image.build_from_dir(__dir__, 't' => tag)
end

Public Instance Methods

tag() click to toggle source
# File lib/lambda_ruby_bundler/image.rb, line 17
def tag
  @tag ||= [
    'lambda-ruby-bundler',
    VERSION
  ].join(':')
end