Class: Avm::EacUbuntuBase0::DockerImage

Inherits:
Docker::Image
  • Object
show all
Defined in:
lib/avm/eac_ubuntu_base0/docker_image.rb

Constant Summary collapse

USER_NAME =
'myuser'

Instance Method Summary collapse

Instance Method Details

#stereotype_tagObject



12
13
14
# File 'lib/avm/eac_ubuntu_base0/docker_image.rb', line 12

def stereotype_tag
  'eac_ubuntu_base0'
end

#user_homeObject



16
17
18
# File 'lib/avm/eac_ubuntu_base0/docker_image.rb', line 16

def user_home
  ::File.join('/home', user_name)
end

#user_nameObject



20
21
22
# File 'lib/avm/eac_ubuntu_base0/docker_image.rb', line 20

def user_name
  USER_NAME
end

#user_passwordObject



24
25
26
# File 'lib/avm/eac_ubuntu_base0/docker_image.rb', line 24

def user_password
  user_name
end