Sha256: 9265bb208418b89de2c18f7c5ca6a673b69873cc9d2518b7c8ab93157d1bf72e

Contents?: true

Size: 415 Bytes

Versions: 14

Compression:

Stored size: 415 Bytes

Contents

require_relative 'template_writer'

module Dockerun
  module Template
    class JrubyTemplateWriter < TemplateWriter
     
      def initialize
        super
      end

      alias_method :find_template, :find_template_super
      def find_template
        case @template
        when "jruby-9.4.0-jdk11"
          @image = "jruby:9.4.0-jdk11"
        end

        find_template_super
      end

    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
dockerun-0.3.6 lib/dockerun/template/jruby_template_writer.rb
dockerun-0.3.5 lib/dockerun/template/jruby_template_writer.rb
dockerun-0.3.4 lib/dockerun/template/jruby_template_writer.rb
dockerun-0.3.3 lib/dockerun/template/jruby_template_writer.rb
dockerun-0.3.1 lib/dockerun/template/jruby_template_writer.rb
dockerun-0.3.0 lib/dockerun/template/jruby_template_writer.rb
dockerun-0.2.3 lib/dockerun/template/jruby_template_writer.rb
dockerun-0.2.2 lib/dockerun/template/jruby_template_writer.rb
dockerun-0.2.1 lib/dockerun/template/jruby_template_writer.rb
dockerun-0.2.0 lib/dockerun/template/jruby_template_writer.rb
dockerun-0.1.18 lib/dockerun/template/jruby_template_writer.rb
dockerun-0.1.16 lib/dockerun/template/jruby_template_writer.rb
dockerun-0.1.15 lib/dockerun/template/jruby_template_writer.rb
dockerun-0.1.14 lib/dockerun/template/jruby_template_writer.rb