Sha256: ca42280ebf5eee8e55ff0f69dc7ae8bdd3ad148f410f7f491e782cc47c2d5291

Contents?: true

Size: 322 Bytes

Versions: 153

Compression:

Stored size: 322 Bytes

Contents

require 'yaml'
require_relative 'common'

module Kontena::Cli::Apps
  class DockerfileGenerator
    include Common

    def generate(base_image)

      dockerfile = File.new('Dockerfile', 'w')
      dockerfile.puts "FROM #{base_image}"
      dockerfile.puts 'CMD ["/start", "web"]'
      dockerfile.close
    end
  end
end

Version data entries

153 entries across 153 versions & 2 rubygems

Version Path
kontena-cli-1.1.5 lib/kontena/cli/apps/dockerfile_generator.rb
kontena-cli-1.1.5.rc3 lib/kontena/cli/apps/dockerfile_generator.rb
kontena-cli-1.1.5.rc2 lib/kontena/cli/apps/dockerfile_generator.rb
kontena-cli-1.1.5.rc1 lib/kontena/cli/apps/dockerfile_generator.rb
kontena-cli-1.1.4 lib/kontena/cli/apps/dockerfile_generator.rb
kontena-cli-1.2.0.dev1 lib/kontena/cli/apps/dockerfile_generator.rb
kontena-cli-1.1.3 lib/kontena/cli/apps/dockerfile_generator.rb
kontena-cli-1.1.2 lib/kontena/cli/apps/dockerfile_generator.rb
kontena-cli-1.1.2.rc2 lib/kontena/cli/apps/dockerfile_generator.rb
kontena-cli-1.1.2.rc1 lib/kontena/cli/apps/dockerfile_generator.rb
kontena-cli-1.1.1 lib/kontena/cli/apps/dockerfile_generator.rb
kontena-cli-1.1.1.rc1 lib/kontena/cli/apps/dockerfile_generator.rb
kontena-cli-1.1.0 lib/kontena/cli/apps/dockerfile_generator.rb
kontena-cli-1.1.0.rc2 lib/kontena/cli/apps/dockerfile_generator.rb
kontena-cli-1.1.0.rc1 lib/kontena/cli/apps/dockerfile_generator.rb
kontena-cli-1.1.0.pre1 lib/kontena/cli/apps/dockerfile_generator.rb
kontena-cli-1.0.6 lib/kontena/cli/apps/dockerfile_generator.rb
kontena-cli-1.0.6.rc1 lib/kontena/cli/apps/dockerfile_generator.rb
kontena-cli-1.0.5 lib/kontena/cli/apps/dockerfile_generator.rb
kontena-cli-1.0.5.rc1 lib/kontena/cli/apps/dockerfile_generator.rb