Sha256: 2bcc9ae6b20fecd65b5ff9e805e626a2808d7216df18dddf136a9930649d702c

Contents?: true

Size: 242 Bytes

Versions: 1

Compression:

Stored size: 242 Bytes

Contents

#!/usr/bin/env ruby

def rocket_dir
  ENV.fetch('ROCKET_DIR', '/var/lib/rkt')
end

fail "#{rocket_dir} does not exist" unless File.exists? rocket_dir

exec "docker run -v #{rocket_dir}:/var/lib/rkt -t sheax0r/rocker-docket #{ARGV.join(' ')}"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rocker-docket-0.0.1 bin/rkt