Sha256: f8a06336bd6caafbe5ac706abd0636fe23f96e0c35ed18ab049b3cbed5ac7929
Contents?: true
Size: 820 Bytes
Versions: 1
Compression:
Stored size: 820 Bytes
Contents
# Encoding: utf-8 require 'packer/builder' require 'packer/dataobject' module Packer class Builder < Packer::DataObject class Docker < Builder def initialize super self.data['type'] = DOCKER self.add_required('image') end def export_path(path) self.__add_string('export_path', path, ['commit']) end def commit(bool) self.__add_boolean('commit', bool, ['export_path']) end def image(name) self.__add_string('image', name) end def pull(bool) self.__add_boolean('pull', bool) end def changes(changes) self.__add_array_of_strings('changes', changes) end def run_command(commands) self.__add_array_of_strings('run_command', commands) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
packer-config-1.6.5 | lib/packer/builders/docker.rb |