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

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

Class Method Summary collapse

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



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

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

.require_keysObject



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

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