Class: Packerman::Dsl::Builders::Docker

Inherits:
Packerman::Dsl::Builders show all
Defined in:
lib/packerman/dsl/builders/docker.rb

Class Method Summary collapse

Methods inherited from Packerman::Dsl::Builders

communicator_keys, hash_key

Methods included from Node

#initialize, #method_missing, #to_hash, #type

Methods inherited from Packerman::Dsl

register, register_to_repo, to_subclass

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Packerman::Dsl::Node

Class Method Details

.optional_keysObject



13
14
15
16
17
18
19
20
21
22
23
24
# File 'lib/packerman/dsl/builders/docker.rb', line 13

def optional_keys
  [
    :login,
    :login_email,
    :login_username,
    :login_password,
    :login_server,
    :pull,
    :run_command,
    :volumes
  ]
end

.require_keysObject



3
4
5
6
7
8
9
10
11
# File 'lib/packerman/dsl/builders/docker.rb', line 3

def require_keys
  [
    #You must specify (only) one of commit, discard, or export_path.
    :commit,
    :discard,
    :export_path,
    :image
  ]
end