class Packer::PostProcessor::DockerImport

Public Class Methods

new() click to toggle source
Calls superclass method Packer::PostProcessor::new
# File lib/packer/postprocessors/docker.rb, line 8
def initialize
  super
  self.data['type'] = DOCKER_IMPORT
  self.add_required('repository')
end

Public Instance Methods

repository(repo) click to toggle source
# File lib/packer/postprocessors/docker.rb, line 14
def repository(repo)
  self.__add_string('repository', repo)
end
tag(tag) click to toggle source
# File lib/packer/postprocessors/docker.rb, line 18
def tag(tag)
  self.__add_string('tag', tag)
end