Sha256: d952be9cf27461b55e7c2fdf2fed9b0b657b5989a7a06822b070866f58ab1190

Contents?: true

Size: 509 Bytes

Versions: 2

Compression:

Stored size: 509 Bytes

Contents

# frozen_string_literal: true

require 'avm/docker/image'
require 'avm/eac_ubuntu_base0/patches/object/template'
require 'eac_ruby_utils/core_ext'

module Avm
  module EacUbuntuBase0
    class DockerImage < ::Avm::Docker::Image
      USER_NAME = 'myuser'

      def stereotype_tag
        'eac_ubuntu_base0'
      end

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

      def user_name
        USER_NAME
      end

      def user_password
        user_name
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
avm-tools-0.113.2 sub/avm-eac_ubuntu_base0/lib/avm/eac_ubuntu_base0/docker_image.rb
avm-eac_ubuntu_base0-0.2.0 lib/avm/eac_ubuntu_base0/docker_image.rb