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