Sha256: 797e4e532bb1176ae2932ee89b7374ed86a41717ec5f32ed9d3ea38d3c668478
Contents?: true
Size: 487 Bytes
Versions: 8
Compression:
Stored size: 487 Bytes
Contents
# frozen_string_literal: true require "refinements/struct" module Rubysmith module Builders module DevContainer # Builds Dockerfile for container. class Dockerfile < Abstract using Refinements::Struct def call return false unless settings.build_devcontainer builder.call(settings.merge(template_path: "%project_name%/.devcontainer/Dockerfile.erb")) .render true end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems