Sha256: b94602fa3276883cbe88b3b4e36b331c6b1bb563bb6bca419c53d3a73739c3a6

Contents?: true

Size: 330 Bytes

Versions: 9

Compression:

Stored size: 330 Bytes

Contents

#! /usr/bin/env ruby

require "bundler/setup"
Bundler.require :tools

version = Bundler.root.join(".ruby-version").read.chop

system <<~COMMAND
  docker buildx \
         build \
         --load \
         --build-arg RUBY_VERSION=#{version} \
         --tag <%= settings.project_name %>:latest \
         #{Bundler.root}
COMMAND

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rubysmith-8.1.0 lib/rubysmith/templates/%project_name%/bin/docker/build.erb
rubysmith-8.0.0 lib/rubysmith/templates/%project_name%/bin/docker/build.erb
rubysmith-7.9.0 lib/rubysmith/templates/%project_name%/bin/docker/build.erb
rubysmith-7.8.0 lib/rubysmith/templates/%project_name%/bin/docker/build.erb
rubysmith-7.7.0 lib/rubysmith/templates/%project_name%/bin/docker/build.erb
rubysmith-7.6.0 lib/rubysmith/templates/%project_name%/bin/docker/build.erb
rubysmith-7.5.0 lib/rubysmith/templates/%project_name%/bin/docker/build.erb
rubysmith-7.4.0 lib/rubysmith/templates/%project_name%/bin/docker/build.erb
rubysmith-7.3.0 lib/rubysmith/templates/%project_name%/bin/docker/build.erb